소스 검색

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3502 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 년 전
부모
커밋
d962d02b29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/forms.class.inc.php

+ 1 - 1
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...