Skip to content

Commit

Permalink
Type error fixed
Browse files Browse the repository at this point in the history
https://support.iliasnet.de/view.php?id=9387
Type error fixed, returning string only
  • Loading branch information
qualitus-dahme authored Jan 20, 2025
1 parent c1bc8fb commit c90b73e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static function _lookupSubType(int $a_obj_id): string
);
$obj_rec = $ilDB->fetchAssoc($obj_set);

return $obj_rec["c_type"];
return $obj_rec["c_type"] ?? '';
}

// /**
Expand Down

0 comments on commit c90b73e

Please sign in to comment.