// validateControler => validateController
This commit is contained in:
@@ -83,7 +83,7 @@ class AddressControllerCore extends FrontController
|
|||||||
if (Tools::isSubmit('submitAddress'))
|
if (Tools::isSubmit('submitAddress'))
|
||||||
{
|
{
|
||||||
$address = new Address();
|
$address = new Address();
|
||||||
$this->errors = $address->validateControler();
|
$this->errors = $address->validateController();
|
||||||
$address->id_customer = (int)$this->context->customer->id;
|
$address->id_customer = (int)$this->context->customer->id;
|
||||||
|
|
||||||
if (!Tools::getValue('phone') AND !Tools::getValue('phone_mobile'))
|
if (!Tools::getValue('phone') AND !Tools::getValue('phone_mobile'))
|
||||||
|
|||||||
Reference in New Issue
Block a user