// 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:
vSchoener
2012-01-05 17:13:08 +00:00
parent 568c073582
commit acac911f79
@@ -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;