From 719870663a0f96ceb41159f2ef6dcb9aebf07893 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Mon, 14 May 2012 14:19:17 +0000 Subject: [PATCH] Compiler and co: fixed bug with 'is_null_allowed' missing SVN:trunk[1989] --- setup/compiler.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index 7a17e178f..26d333753 100644 --- a/setup/compiler.class.inc.php +++ b/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; }