diff --git a/library/includes/functions.php b/library/includes/functions.php index 8cadfddc..30887f6e 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1805,7 +1805,7 @@ function bb_die ($msg_text) if (defined('IN_AJAX')) { - $ajax->ajax_die($msg_text); + $ajax->ajax_die(strip_tags(preg_replace('##i', "\n", $msg_text))); } // Check