Commit f67dbd5f authored by lLefevre's avatar lLefevre

[-] BO : fix #PSCFV-4053

parent 5a05e05f
......@@ -366,7 +366,7 @@ class ValidateCore
*/
public static function isGenericName($name)
{
return empty($name) || preg_match('/^[^<>;=#{}]*$/u', $name);
return empty($name) || preg_match('/^[^<>=#{}]*$/u', $name);
}
/**
......
......@@ -404,7 +404,9 @@ class AdminFeaturesControllerCore extends AdminController
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay') && !count($this->errors))
$this->redirect_after = self::$currentIndex.'&'.$this->identifier.'=&conf=3&update'.$this->table.'&token='.$this->token;
else if (Tools::isSubmit('submitAdd'.$this->table.'AndStay') && count($this->errors))
$this->display = 'editFeatureValue';
return $object;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment