From 65d92fbcd9df7f3d93acf41b4245c8aafa3a9c46 Mon Sep 17 00:00:00 2001 From: rkingdon Date: Mon, 20 Sep 2004 15:01:41 +0000 Subject: [PATCH] Fixed bug #1952. --- mod/exercise/assessments.php | 2 +- mod/exercise/mod.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 @@ " /> " />

-

-- 2.39.5