Strip HTML for hyperlink creation from core
[squirrelmail.git] / plugins / listcommands / mailout.php
index c319fc10b43279908c2edac82d1d130f2233939b..dd9e5de180ee7a551e8ab7891cf0628cd5a41c17 100644 (file)
@@ -41,7 +41,9 @@ switch ( $action ) {
         $out_string = _("This will send a message to %s requesting that you will be unsubscribed from this list. It will try to unsubscribe the adress below.");
         break;
     default:
-        error_box(sprintf(_("Unknown action: %s"),htmlspecialchars($action)), $color);
+        error_box(sprintf(_("Unknown action: %s"),htmlspecialchars($action)));
+        // display footer (closes html tags) and stop script execution
+        $oTemplate->display('footer.tpl');
         exit;
 }