// validateControler is now deprecated

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8158 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2011-08-23 08:58:07 +00:00
parent 6d414e45c5
commit 7e1ac5572e
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class OrderOpcControllerCore extends ParentOrderController
$this->context->customer->birthday = (int)Tools::getValue('years').'-'.(int)Tools::getValue('months').'-'.(int)Tools::getValue('days');
$_POST['lastname'] = $_POST['customer_lastname'];
$_POST['firstname'] = $_POST['customer_firstname'];
$this->errors = $this->context->customer->validateControler();
$this->errors = $this->context->customer->validateController();
$this->context->customer->newsletter = (int)Tools::isSubmit('newsletter');
$this->context->customer->optin = (int)Tools::isSubmit('optin');
$return = array(