Merge branch 'ticket-12643-OpenLoyaltyEs' into develop

This commit is contained in:
Marion Muszynski 2017-03-23 15:03:09 +01:00
commit e7ef07618b

View File

@ -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();