diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index cf67f29cb..be1adad43 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -1085,6 +1085,11 @@ class AttributeBoolean extends AttributeInteger if ($value) return 1; return 0; } + + public function GetAsXML($sValue, $oHostObject = null) + { + return $sValue ? '1' : '0'; + } } /**