Browse Source

Fixing 1629 define min and max score for exercises in platform admin

Julio Montoya 14 years ago
parent
commit
8973411b80
1 changed files with 6 additions and 1 deletions
  1. 6 1
      main/exercice/exercise_show.php

+ 6 - 1
main/exercice/exercise_show.php

@@ -580,8 +580,13 @@ if ($show_results) {
 		</table>
 		<?php
         
+		/*
+		Do not convert question results
 		$my_total_score  = convert_score($questionScore, $total_weighting);
-		$my_total_weight = convert_score($questionWeighting, $total_weighting);       
+		$my_total_weight = convert_score($questionWeighting, $total_weighting);*/
+		
+		$my_total_score  = $questionScore;
+		$my_total_weight = $questionWeighting;       
 
 		echo '<div id="question_score">';
 	    if ($objExercise->selectPropagateNeg() && $my_total_score < 0) {