From dde189008f23d00af63db389732a0acedccc5cab Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 26 Sep 2007 13:10:32 +0200 Subject: [PATCH] [svn r13274] fix again a bug in hotspots --- main/exercice/exercise_show.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercice/exercise_show.php b/main/exercice/exercise_show.php index 6ae412f5cd..9eab2ee667 100644 --- a/main/exercice/exercise_show.php +++ b/main/exercice/exercise_show.php @@ -700,7 +700,7 @@ $result =api_sql_query($query, __FILE__, __LINE__); $TBL_TRACK_HOTSPOT = Database::get_statistic_table(TABLE_STATISTIC_TRACK_E_HOTSPOT); $query = "select hotspot_correct from ".$TBL_TRACK_HOTSPOT." where hotspot_exe_id = $id and hotspot_question_id= $questionId AND hotspot_answer_id=$answerId"; $resq=api_sql_query($query); - $choice = mysql_result($resq,0,"correct"); + $choice = mysql_result($resq,0,"hotspot_correct"); display_hotspot_answer($answerId,$answer,$choice,$answerComment); $i++;