diff --git a/webservice/soap/classes/class.ilObjectXMLParser.php b/webservice/soap/classes/class.ilObjectXMLParser.php index a6c636026e0a..3245526799d5 100644 --- a/webservice/soap/classes/class.ilObjectXMLParser.php +++ b/webservice/soap/classes/class.ilObjectXMLParser.php @@ -9,6 +9,8 @@ * https://www.ilias.de * https://github.com/ILIAS-eLearning *****************************************************************************/ + + class ilObjectXMLParser extends ilSaxParser { public array $object_data = []; @@ -64,7 +66,10 @@ public function handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs) ) ); } - $this->addProperty('offline', $a_attribs['offline'] ?? true); + if (isset($a_attribs['offline'])) { + $this->addProperty('offline', $a_attribs['offline']); + } + break;