// AdminController: typo (?) in an error message

This commit is contained in:
bMancone
2011-11-23 11:39:51 +00:00
parent 6f0ee81a6d
commit be8784fc8e
+2 -2
View File
@@ -1006,7 +1006,7 @@ class AdminControllerCore extends Controller
{
$this->context->smarty->assign(array(
'json' => true,
'status' => $this->status,
'status' => $this->status,
));
}
$this->layout = 'layout-ajax.tpl';
@@ -2060,7 +2060,7 @@ class AdminControllerCore extends Controller
if (!Tools::getValue($this->identifier) || ($field != 'passwd' && $field != 'no-picture'))
$this->_errors[] = $this->l('the field').
' <b>'.call_user_func(array($class_name, 'displayFieldName'), $field, $class_name).'</b> '.
$this->l('is required ZZZ');
$this->l('is required');
/* Checking for multilingual required fields */
foreach ($rules['requiredLang'] as $field_lang)