MDL-29696 mod/data - fixed page continuing after footer.
authorDan Poltawski <dan.poltawski@luns.net.uk>
Tue, 1 Nov 2011 14:59:08 +0000 (14:59 +0000)
committerAparup Banerjee <aparup@moodle.com>
Wed, 9 Nov 2011 07:42:07 +0000 (15:42 +0800)
mod/data/preset.php

index 7f1a213..b9dd65b 100644 (file)
@@ -106,6 +106,7 @@ if (optional_param('sesskey', false, PARAM_BOOL) && confirm_sesskey()) {
         $importer = new data_preset_existing_importer($course, $cm, $data, $formdata->fullname);
         echo $renderer->import_setting_mappings($data, $importer);
         echo $OUTPUT->footer();
+        exit(0);
     } else if ($formdata = $form_importzip->get_data()) {
         $file = new stdClass;
         $file->name = $form_importzip->get_new_filename('importfile');