Merge branch 'ticket-12643-OpenLoyaltyEs' into develop
This commit is contained in:
commit
e7ef07618b
@ -652,9 +652,9 @@ class Loyalty extends Module
|
||||
die(Tools::displayError('Missing parameters'));
|
||||
$newOrder = $params['newOrderStatus'];
|
||||
$order = new Order((int)($params['id_order']));
|
||||
if ($order->id_lang == 3) {
|
||||
return true;
|
||||
}
|
||||
// if ($order->id_lang == 3) {
|
||||
// return true;
|
||||
// }
|
||||
if ($order AND !Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Incorrect object Order.'));
|
||||
$this->instanceDefaultStates();
|
||||
|
Loading…
Reference in New Issue
Block a user