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

skala
Julio Montoya 15 years ago
parent a715413061
commit 8973411b80
  1. 7
      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) {

Loading…
Cancel
Save