//fixed code error in a pull request

This commit is contained in:
vAugagneur committed 2012-11-26 10:09:27 +01:00
1 parent c00e3218c9
commit 8dd256fbb3
1 file changed
+1 -1
+1 -1
View File
@@ -217,7 +217,7 @@ class OrderHistoryCore extends ObjectModel
die(Tools::displayError('Invalid new order state')); 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 // 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->valid = $new_os->logable;
$order->update(); $order->update();