mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 21:03:01 +09:00
update $result array
This commit is contained in:
1 parent
88d414360d
commit
bcacd31758
1 file changed
+5
-6
@@ -579,10 +579,6 @@ class Service implements InjectionAwareInterface
|
||||
$this->di['db']->store($order);
|
||||
}
|
||||
}
|
||||
|
||||
$result = array($master_order, $invoiceModel->id, $orders);
|
||||
} else {
|
||||
$result = array($master_order, null, $orders);
|
||||
}
|
||||
|
||||
//activate orders if product is setup to be activated after order place or order total is $0
|
||||
@@ -613,8 +609,11 @@ class Service implements InjectionAwareInterface
|
||||
}
|
||||
}
|
||||
|
||||
$result[2] = $ids;
|
||||
return $result;
|
||||
return array(
|
||||
$master_order,
|
||||
isset($invoiceModel) ? $invoiceModel->id : null,
|
||||
$ids,
|
||||
);
|
||||
}
|
||||
|
||||
public function usePromo(\Model_Promo $promo)
|
||||
|
||||
Reference in new issue
Block a user