Browse Source

Compiler and co: fixed bug with 'is_null_allowed' missing

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1989 a333f486-631f-4898-b8df-5754b55c2be0
romainq 13 years ago
parent
commit
0cd05a3ec2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      setup/compiler.class.inc.php

+ 1 - 1
setup/compiler.class.inc.php

@@ -633,7 +633,7 @@ EOF;
 				$aParameters['allowed_values'] = 'null'; // or "new ValueSetEnum('SELECT xxxx')"
 				$aParameters['sql'] = $this->GetPropString($oField, 'sql', '');
 				$aParameters['default_value'] = $this->GetPropString($oField, 'default_value', '');
-				$aParameters['is_null_allowed'] = $oField->GetChildText('is_null_allowed', false);
+				$aParameters['is_null_allowed'] = $this->GetPropBoolean($oField, 'is_null_allowed', false);
 				$aParameters['depends_on'] = $sDependencies;
 			}