Skip to content

Commit

Permalink
PRG: listen to LP events of CRSR only. (#37921)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastocker committed Sep 25, 2023
1 parent 83cfa7e commit 310fa96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ public static function setProgressesCompletedFor(int $a_obj_id, int $a_user_id)
{
// We only use courses via crs_refs
$type = ilObject::_lookupType($a_obj_id);
if ($type == "crs") {
if ($type == "crsr") {
require_once("Services/ContainerReference/classes/class.ilContainerReference.php");
$crs_reference_obj_ids = ilContainerReference::_lookupSourceIds($a_obj_id);
foreach ($crs_reference_obj_ids as $obj_id) {
Expand Down

0 comments on commit 310fa96

Please sign in to comment.