]> git.mjollnir.org Git - moodle.git/commitdiff
Submit button was causing bug 4986
authormoodler <moodler>
Tue, 11 Apr 2006 12:29:19 +0000 (12:29 +0000)
committermoodler <moodler>
Tue, 11 Apr 2006 12:29:19 +0000 (12:29 +0000)
mod/data/edit.php

index ff156854ccc678f9490b710f0d3349215c714487..40fc404ef2de8d5490a949f0250d99202146f8aa 100755 (executable)
 
     if ($datarecord = data_submitted($CFG->wwwroot.'/mod/data/edit.php') and confirm_sesskey()) {
 
-        $ignorenames = array('MAX_FILE_SIZE','sesskey','d','rid');  // strings to be ignored in input data
+        $ignorenames = array('MAX_FILE_SIZE','sesskey','d','rid','saveandview','cancel');  // strings to be ignored in input data
 
         if ($rid) {                                          /// Update some records