[-] FO : Fix bug #PSCFV-5168, required phone in all templates

This commit is contained in:
gRoussac
2013-03-11 19:01:58 +01:00
parent f3579dd5eb
commit a03bf13b8f
7 changed files with 24 additions and 25 deletions
+1 -3
View File
@@ -321,9 +321,7 @@ class OrderOpcControllerCore extends ParentOrderController
'errorTOS' => Tools::displayError('You must accept the Terms of Service before', false),
'isPaymentStep' => (bool)(isset($_GET['isPaymentStep']) && $_GET['isPaymentStep']),
'genders' => Gender::getGenders(),
));
/* Call a hook to display more information on form */
$this->context->smarty->assign(array(
'one_phone_at_least' => (int)Configuration::get('PS_ONE_PHONE_AT_LEAST'),
'HOOK_CREATE_ACCOUNT_FORM' => Hook::exec('displayCustomerAccountForm'),
'HOOK_CREATE_ACCOUNT_TOP' => Hook::exec('displayCustomerAccountFormTop')
));