//fixed code error in a pull request
This commit is contained in:
@@ -217,7 +217,7 @@ class OrderHistoryCore extends ObjectModel
|
||||
die(Tools::displayError('Invalid new order state'));
|
||||
|
||||
// the order is valid if and only if the invoice is available and the order is not cancelled
|
||||
$order->->current_state = $this->id_order_state;
|
||||
$order->current_state = $this->id_order_state;
|
||||
$order->valid = $new_os->logable;
|
||||
$order->update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user