From 50d08ab70080408cf9c46202f183c2e8cb411371 Mon Sep 17 00:00:00 2001 From: mjansen Date: Thu, 10 Oct 2024 20:13:42 +0200 Subject: [PATCH] SOAP: Fix extracting NULL when parsing XML See: https://mantis.ilias.de/view.php?id=42056 --- webservice/soap/classes/class.ilObjectXMLParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webservice/soap/classes/class.ilObjectXMLParser.php b/webservice/soap/classes/class.ilObjectXMLParser.php index 929a2d85c1d2..97de8c3e60d1 100644 --- a/webservice/soap/classes/class.ilObjectXMLParser.php +++ b/webservice/soap/classes/class.ilObjectXMLParser.php @@ -58,7 +58,7 @@ public function handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs) $this->addProperty( 'obj_id', is_numeric($a_attribs['obj_id']) ? (int) $a_attribs["obj_id"] : ilUtil::__extractId( - $a_attribs["obj_id"], + $a_attribs["obj_id"] ?? '', IL_INST_ID ) );