Browse Source

Fix parameter see BT#12898

jmontoyaa 7 years ago
parent
commit
6f640887dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/work/work.lib.php

+ 1 - 1
main/work/work.lib.php

@@ -3308,7 +3308,7 @@ function formatWorkScore($score, $weight)
         $label = 'warning';
     }
 
-    $scoreBasedInModel = ExerciseLib::convertScoreToModel($relativeScore);
+    $scoreBasedInModel = ExerciseLib::convertScoreToModel($relativeScore*100);
     if (empty($scoreBasedInModel)) {
         $finalScore = api_number_format($score, 1).' / '.$weight;