// 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:
vChabot
2011-09-29 15:45:09 +00:00
parent a73ef6232a
commit 355bad0fba
+1 -1
View File
@@ -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));