1
This commit is contained in:
parent
e56cb2bc52
commit
fc00642f2b
@ -78,7 +78,7 @@ class OtherController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case self::BAG :{
|
case self::BAG :{
|
||||||
$res = myself()->_getSelfMysql()->execQueryOne("SELECT COUNT(idx) as totalNum FROM t_bag WHERE account_id=:account AND is_old=:is_old LIMIT 1",array(
|
$res = myself()->_getSelfMysql()->execQueryOne("SELECT COUNT(idx) as totalNum FROM t_bag WHERE account_id=:account AND item_num>0 AND is_old=:is_old LIMIT 1",array(
|
||||||
'account' => myself()->_getAccountId(),
|
'account' => myself()->_getAccountId(),
|
||||||
'is_old' => 0,
|
'is_old' => 0,
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user