From 29187f7c15c1f18041b80702f660e6a2c0e5e9f7 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 24 Oct 2023 23:26:36 +0700 Subject: [PATCH] Update functions.php --- library/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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