Skip to content

Commit

Permalink
Unset default offline status
Browse files Browse the repository at this point in the history
  • Loading branch information
jeph864 committed Dec 11, 2024
1 parent ad7ddfa commit 86adf64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webservice/soap/classes/class.ilObjectXMLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*****************************************************************************/


class ilObjectXMLParser extends ilSaxParser
{
public array $object_data = [];
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 86adf64

Please sign in to comment.