1
This commit is contained in:
parent
b1e62a0740
commit
2b483e0da4
@ -436,6 +436,10 @@ class BagController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, "item_id error");
|
$this->_rspErr(1, "item_id error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ($itemNum < 1){
|
||||||
|
$this->_rspErr(1, "item_num error");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if ($itemMeta['type'] != mt\Item::FUNC_TYPE) {
|
if ($itemMeta['type'] != mt\Item::FUNC_TYPE) {
|
||||||
$this->_rspErr(1, "only supported property");
|
$this->_rspErr(1, "only supported property");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user