mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed a regression introduced by the revision 3500: the default value is NEVER "forbidden"
SVN:trunk[3502]
This commit is contained in:
@@ -883,7 +883,7 @@ class DesignerTextField extends DesignerFormField
|
||||
{
|
||||
$aForbiddenValues = $aValues;
|
||||
|
||||
$iDefaultKey = array_search($this->defaultValue, $this->aForbiddenValues);
|
||||
$iDefaultKey = array_search($this->defaultValue, $aForbiddenValues);
|
||||
if ($iDefaultKey !== false)
|
||||
{
|
||||
// The default (current) value is always allowed...
|
||||
|
||||
Reference in New Issue
Block a user