From e9cbfbbfd71306ad54fdabd22111fe44d0746feb Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Fri, 13 Dec 2024 13:24:35 +0100 Subject: [PATCH] CourseReference: fix type error (41027) --- .../Tracking/classes/status/class.ilLPStatusCourseReference.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); } }