Skip to content

Commit

Permalink
44172: Error on opening a Learning Modul from our lecturers
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Feb 13, 2025
1 parent 21135df commit 40f53b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/LearningModule/classes/class.ilLMTracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ public function getIconForLMObject(
return $icons->getImagePathRunning();
}
if (isset($this->tree_arr["nodes"][$a_node["child"]])) {
switch ($this->tree_arr["nodes"][$a_node["child"]]["status"]) {
switch ($this->tree_arr["nodes"][$a_node["child"]]["status"] ?? null) {
case ilLMTracker::IN_PROGRESS:
return $icons->getImagePathInProgress();

Expand Down

0 comments on commit 40f53b9

Please sign in to comment.