// Fix replace \\" by " in english keys and change french keys for errors files
This commit is contained in:
@@ -186,7 +186,7 @@ class AddressControllerCore extends FrontController
|
||||
AND id_address != '.(int)Tools::getValue('id_address').'
|
||||
AND id_customer = '.(int)$this->context->customer->id.'
|
||||
AND deleted = 0') > 0)
|
||||
$this->errors[] = sprintf(Tools::displayError('The alias \\"%s\\" is already used, please chose another one.'), Tools::safeOutput($_POST['alias']));
|
||||
$this->errors[] = sprintf(Tools::displayError('The alias "%s" is already used, please chose another one.'), Tools::safeOutput($_POST['alias']));
|
||||
|
||||
// Don't continue this process if we have errors !
|
||||
if ($this->errors && !Tools::isSubmit('ajax'))
|
||||
|
||||
@@ -39,7 +39,7 @@ class StoresControllerCore extends FrontController
|
||||
|
||||
if (!extension_loaded('Dom'))
|
||||
{
|
||||
$this->errors[] = Tools::displayError('PHP \\"Dom\\" extension is not loaded.');
|
||||
$this->errors[] = Tools::displayError('PHP "Dom" extension is not loaded.');
|
||||
$this->context->smarty->assign('errors', $this->errors);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user