MDL-10782 fixed double footer when deleting glossary category
authorPetr Skoda <skodak@moodle.org>
Sun, 10 Oct 2010 10:22:31 +0000 (10:22 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 10 Oct 2010 10:22:31 +0000 (10:22 +0000)
mod/glossary/editcategories.php

index e8c265b..1c45a33 100644 (file)
@@ -110,7 +110,6 @@ if ( $hook >0 ) {
             echo $OUTPUT->box_start('generalbox boxaligncenter errorboxcontent boxwidthnarrow');
             echo "<div>" . get_string("categorydeleted","glossary") ."</div>";
             echo $OUTPUT->box_end();
             echo $OUTPUT->box_start('generalbox boxaligncenter errorboxcontent boxwidthnarrow');
             echo "<div>" . get_string("categorydeleted","glossary") ."</div>";
             echo $OUTPUT->box_end();
-            echo $OUTPUT->footer();
 
             add_to_log($course->id, "glossary", "delete category", "editcategories.php?id=$cm->id", $hook,$cm->id);
 
 
             add_to_log($course->id, "glossary", "delete category", "editcategories.php?id=$cm->id", $hook,$cm->id);