From 528a8901dfffa8e02b37233b96d30d7c0870b532 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 11 Mar 2015 15:46:53 +0000 Subject: [PATCH] Fixed a regression introduced by the revision 3500: the default value is NEVER "forbidden" SVN:trunk[3502] --- application/forms.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php index deab25a2d..60d3f88c9 100644 --- a/application/forms.class.inc.php +++ b/application/forms.class.inc.php @@ -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...