From 51fb54e0aaf6f49ab6d966140ca93015f1b4461d Mon Sep 17 00:00:00 2001 From: cypherbits Date: Sat, 1 Aug 2020 22:40:42 +0200 Subject: [PATCH] Oops... --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index facdf75..2d87070 100644 --- a/chat.php +++ b/chat.php @@ -3012,7 +3012,7 @@ function apply_linkfilter($message){ } $redirect=get_setting('redirect'); if(get_setting('imgembed')){ - $message=preg_replace_callback('/\[img\]\s?(.*?(?=<\/a>))<\/a>/iu', + $message=preg_replace_callback('/\[img\]\s?(.*?(?=<\/a>))<\/a>/iu', function ($matched){ return str_ireplace('[/img]', '', "

"); }