From: rkingdon Date: Mon, 20 Sep 2004 15:01:41 +0000 (+0000) Subject: Fixed bug #1952. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=65d92fbcd9df7f3d93acf41b4245c8aafa3a9c46;p=moodle.git Fixed bug #1952. --- diff --git a/mod/exercise/assessments.php b/mod/exercise/assessments.php index 4e8f232c53..42b9c34f14 100644 --- a/mod/exercise/assessments.php +++ b/mod/exercise/assessments.php @@ -452,7 +452,7 @@ error("Only teachers can look at this page"); } - $form = (object)$HTTP_POST_VARS; + $form = data_submitted(); // let's not fool around here, dump the junk! delete_records("exercise_elements", "exerciseid", $exercise->id); diff --git a/mod/exercise/mod.html b/mod/exercise/mod.html index 304d89c7be..d9bcfc5daa 100644 --- a/mod/exercise/mod.html +++ b/mod/exercise/mod.html @@ -222,7 +222,6 @@ " /> " />

-