updating error_box() function calls. second argument was modified.
[squirrelmail.git] / plugins / bug_report / show_system_specs.php
index 6d79a4fdd68f1d44025a071c238047f770ecc8f8..293e13b991e317de605fc087f4e9576bf3164c2d 100644 (file)
@@ -19,8 +19,8 @@ include_once(SM_PATH.'plugins/bug_report/functions.php');
 
 /** 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();
 }
 ?>