N°7756 - Allow AttributeClass to declare "class_category" empty in XML

This commit is contained in:
Molkobain
2024-08-17 23:29:56 +02:00
parent 3b4a9dc368
commit e8d059fa77

View File

@@ -2259,7 +2259,7 @@ EOF
$this->CompileCommonProperty('is_null_allowed', $oField, $aParameters, $sModuleRelativeDir, false);
$this->CompileCommonProperty('default_value', $oField, $aParameters, $sModuleRelativeDir, '');
$this->CompileCommonProperty('allowed_values', $oField, $aParameters, $sModuleRelativeDir);
$aParameters['class_category'] = $this->GetPropString($oField, 'class_category');
$aParameters['class_category'] = $this->GetPropString($oField, 'class_category', '');
$aParameters['more_values'] = $this->GetPropString($oField, 'more_values', '');
$aParameters['depends_on'] = $sDependencies;
}else {