diff --git a/Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php b/Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php index 3c513f8e2e55..7dcc0f33de51 100755 --- a/Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php +++ b/Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php @@ -958,7 +958,7 @@ public static function _getMaxScoreForUser(int $a_id, int $a_user): ?float $row = $ilDB->fetchAssoc($res); if ($row['c_max'] != null) { $set++; - $max = $row['c_max']; + $max = floatval($row['c_max']); } } }