// fix undefined var $customer
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8889 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -109,7 +109,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
'token' => Tools::getToken(false)
|
||||
);
|
||||
if (!sizeof($this->errors))
|
||||
$return['isSaved'] = (bool)$customer->update();
|
||||
$return['isSaved'] = (bool)$this->context->customer->update();
|
||||
else
|
||||
$return['isSaved'] = false;
|
||||
die(Tools::jsonEncode($return));
|
||||
|
||||
Reference in New Issue
Block a user