|
@@ -235,7 +235,8 @@ class refill_order_manualControl extends SystemControl
|
|
|
$cur_time = time();
|
|
|
$mod_buyback = Model('refill_buyback');
|
|
|
|
|
|
- if($oper_type == 'buyback') {
|
|
|
+ if($oper_type == 'buyback')
|
|
|
+ {
|
|
|
foreach ($orders as $order)
|
|
|
{
|
|
|
$order_id = intval($order['order_id']);
|
|
@@ -285,7 +286,8 @@ class refill_order_manualControl extends SystemControl
|
|
|
$ins[] = $insert_item;
|
|
|
}
|
|
|
}
|
|
|
- else{
|
|
|
+ else
|
|
|
+ {
|
|
|
foreach ($orders as $order) {
|
|
|
$order_id = intval($order['order_id']);
|
|
|
$fetch_order_ids = $this->check_fetch_order($order_ids);
|