From 7d554301a886a6ed714dcff1aa87c001bdb231de Mon Sep 17 00:00:00 2001 From: Nicolas Ducoulombier Date: Wed, 24 Jun 2015 10:56:52 -0500 Subject: [PATCH] fixing error in global multiple answer, the NoNegativeScore check was only based on last answer and not on all the answers - refs BT#10032 --- main/exercice/global_multiple_answer.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/exercice/global_multiple_answer.class.php b/main/exercice/global_multiple_answer.class.php index f4eed35d2e..5b0fa1559d 100755 --- a/main/exercice/global_multiple_answer.class.php +++ b/main/exercice/global_multiple_answer.class.php @@ -91,8 +91,6 @@ class GlobalMultipleAnswer extends Question //------------- Debut si un des scores par reponse est egal � 0 : la coche vaut 1 (coch�) if ($scoreA == 0) { $defaults['pts'] = 1; - } else { - $defaults['pts'] = 0; } $renderer = & $form->defaultRenderer();