diff --git a/main/exercice/exercise_show.php b/main/exercice/exercise_show.php index 6527630049..16371181d1 100644 --- a/main/exercice/exercise_show.php +++ b/main/exercice/exercise_show.php @@ -806,6 +806,11 @@ $result =api_sql_query($query, __FILE__, __LINE__); $arrmarks[] = $questionId; echo '
'; } + } + else{ + if($questionScore==-1){ + $questionScore=0; + } }?>