// Fix missing order_state when an order crash for any reasons
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12216 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -568,6 +568,9 @@ class AdminCustomersControllerCore extends AdminController
|
||||
$orders_ko = array();
|
||||
foreach ($orders as $order)
|
||||
{
|
||||
if (!isset($order['order_state']))
|
||||
$order['order_state'] = $this->l('The state isn\'t still defined for this order');
|
||||
|
||||
if ($order['valid'])
|
||||
{
|
||||
$orders_ok[] = $order;
|
||||
|
||||
Reference in New Issue
Block a user