updating error_box() function calls. second argument was modified.
[squirrelmail.git] / plugins / squirrelspell / sqspell_options.php
index a477575b86a6105f0ff0cdaa93e02e440d406938..7db23a006f0e9282c7c946060b4253973a88eb34 100644 (file)
@@ -43,7 +43,8 @@ sqspell_ckMOD($MOD);
 if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) {
     require_once(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod");
 } else {
-    error_box(_("Invalid SquirrelSpell module."),$color);
-    echo '</body></html>';
+    error_box(_("Invalid SquirrelSpell module."));
+    // display footer (closes html tags)
+    $oTemplate->display('footer.tpl');
 }
 ?>
\ No newline at end of file