// fix undefined var $customer

This commit is contained in:
vChabot
2011-09-29 15:45:09 +00:00
parent 4652cb4168
commit f537d3008f
+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));