fix
This commit is contained in:
parent
625a2335b4
commit
ace399c903
@ -514,7 +514,7 @@ class RechargeController
|
||||
die();
|
||||
}
|
||||
$itemidlist = explode('|', $dropconf['item_id']);
|
||||
$itemnumlist = explode('|', $dropconf['item_num']);
|
||||
$itemnumlist = explode('|', $dropconf['num']);
|
||||
$item_list = array();
|
||||
foreach ($itemidlist as $key => $itemid) {
|
||||
array_push($item_list, array(
|
||||
@ -548,7 +548,10 @@ class RechargeController
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$daily_purchase = json_decode($rechargerow['daily_purchase'], true);
|
||||
$daily_purchase = array();
|
||||
if ($rechargerow['daily_purchase'] != null && $rechargerow['daily_purchase'] != '') {
|
||||
json_decode($rechargerow['daily_purchase'], true);
|
||||
}
|
||||
$found = false;
|
||||
foreach ($daily_purchase as $key => $dailyitem) {
|
||||
if ($dailyitem['id'] == $_REQUEST['goodsid']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user