Skip to content

Commit

Permalink
SOAP: Fix extracting NULL when parsing XML
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Oct 10, 2024
1 parent 111a28b commit 50d08ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/soap/classes/class.ilObjectXMLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
);
Expand Down

0 comments on commit 50d08ab

Please sign in to comment.