Minor cleanup
[squirrelmail.git] / plugins / bug_report / bug_report.php
index 5f95e2432c58e7ebb7cc90605a96149f1d556ed6..c62498caa2ba23eda0ef70635cd05e932aa26927 100644 (file)
@@ -7,7 +7,7 @@
  * a button to show the bug report mail message in order to actually
  * send it.
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -28,8 +28,8 @@ displayPageHeader($color, 'None');
 
 /** is bug_report plugin disabled or called by wrong user */
 if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
-    error_box(_("Plugin is disabled."),$color);
-    echo "\n</body></html>\n";
+    error_box(_("Plugin is disabled."));
+    $oTemplate->display('footer.tpl');
     exit();
 }