From 71bebb23d1fcb6aa2d2b11dea110310457ea52af Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Fri, 12 Oct 2007 14:20:24 +0200 Subject: [PATCH] [svn r13477] fix a bug when sending pictures after uploading a hp quiz --- main/exercice/hotpotatoes.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/exercice/hotpotatoes.php b/main/exercice/hotpotatoes.php index e50bafc407..d3aa2eae1c 100644 --- a/main/exercice/hotpotatoes.php +++ b/main/exercice/hotpotatoes.php @@ -22,7 +22,7 @@ * Code for Hotpotatoes integration. * @package dokeos.exercise * @author Istvan Mandak -* @version $Id: hotpotatoes.php 13475 2007-10-12 11:09:06Z elixir_inter $ +* @version $Id: hotpotatoes.php 13477 2007-10-12 12:20:24Z elixir_inter $ */ @@ -139,6 +139,7 @@ if(($is_allowedToEdit) && (($finish == 0) || ($finish == 2))) if ($finish==2) { + $imgparams = $_POST['imgparams']; $checked = CheckImageName($imgparams,$filename); if ($checked) { $imgcount = $imgcount-1; } @@ -236,7 +237,7 @@ if(($is_allowedToEdit) && (($finish == 0) || ($finish == 2))) if ($dialogBox) { echo "\n\n \n\n"; - Display::display_normal_message($dialogBox); //main API + Display::display_normal_message($dialogBox, false); //main API echo "\n"; } else