]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug #1952.
authorrkingdon <rkingdon>
Mon, 20 Sep 2004 15:01:41 +0000 (15:01 +0000)
committerrkingdon <rkingdon>
Mon, 20 Sep 2004 15:01:41 +0000 (15:01 +0000)
mod/exercise/assessments.php
mod/exercise/mod.html

index 4e8f232c531c67bebd7f950954584e1cc3c6b9df..42b9c34f144794cdee3d15ccfa2d30ee06a0745c 100644 (file)
             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);
index 304d89c7be9c566e59c07c5a3e581cf516baaa23..d9bcfc5daaf8980305e1fa11bd47aeca382d6958 100644 (file)
 <input type="submit" value="<?php  print_string("savechanges") ?>" />
 <input type="submit" name="cancel" value="<?php  print_string("cancel") ?>" />
 <p>
-<p><?php notify(get_string("noteonassessmentelements", "exercise")); ?>
 
 </center>