Fixed a regression introduced by the revision 3500: the default value is NEVER "forbidden"

SVN:trunk[3502]
This commit is contained in:
Denis Flaven
2015-03-11 15:46:53 +00:00
parent acd6d9679a
commit 528a8901df

View File

@@ -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...