Merge pull request #164 from Shagshag/patch-7
[-] BO : OrderHistory::changeIdOrderState
This commit is contained in:
commit
8d9f878b34
1 file changed
+2
-2
@@ -70,10 +70,10 @@ class OrderHistoryCore extends ObjectModel
|
|||||||
* Sets the new state of the given order
|
* Sets the new state of the given order
|
||||||
*
|
*
|
||||||
* @param int $new_order_state
|
* @param int $new_order_state
|
||||||
* @param int $id_order
|
* @param int/object $id_order
|
||||||
* @param bool $use_existing_payment
|
* @param bool $use_existing_payment
|
||||||
*/
|
*/
|
||||||
public function changeIdOrderState($new_order_state, &$id_order, $use_existing_payment = false)
|
public function changeIdOrderState($new_order_state, $id_order, $use_existing_payment = false)
|
||||||
{
|
{
|
||||||
if (!$new_order_state || !$id_order)
|
if (!$new_order_state || !$id_order)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user