Skip to content

Commit

Permalink
41739: Error when trying to open ILIAS Learning module
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Jul 18, 2024
1 parent 120cc5f commit d90b33f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/ILIAS/COPage/classes/class.ilPageObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,14 @@ public static function _lookupActivationData(
array($a_id, $a_parent_type, $a_lang)
);
$rec = $db->fetchAssoc($set);
if (!$rec) {
return [
"active" => 1,
"activation_start" => null,
"activation_end" => null,
"show_activation_info" => 0
];
}
}

return $rec;
Expand Down

0 comments on commit d90b33f

Please sign in to comment.