Skip to content

Commit

Permalink
Merge pull request ILIAS-eLearning#8184 from mjansenDatabay/hotfix/8/…
Browse files Browse the repository at this point in the history
…42056

SOAP: Fix extracting NULL when parsing XML
  • Loading branch information
jeph864 authored Oct 17, 2024
2 parents ec0ed4d + 50d08ab commit 0604360
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 0604360

Please sign in to comment.