diff --git a/Services/Tracking/classes/status/class.ilLPStatusCourseReference.php b/Services/Tracking/classes/status/class.ilLPStatusCourseReference.php index b2b3716cd4a0..f2b21b3d2d80 100644 --- a/Services/Tracking/classes/status/class.ilLPStatusCourseReference.php +++ b/Services/Tracking/classes/status/class.ilLPStatusCourseReference.php @@ -180,7 +180,7 @@ private static function getInstanceByObjId( private function readTargetObjId(int $a_obj_id): void { $this->target_obj_id = ilObject::_lookupObjId( - ilObjCourseReference::_lookupTargetRefId($a_obj_id) + (int) ilObjCourseReference::_lookupTargetRefId($a_obj_id) ); } }