From d9ee9e1cceea2014d61f7f133a9f1f033c54c191 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 8 Jan 2025 15:39:47 +0700 Subject: [PATCH] Update bbcode.php --- library/includes/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/bbcode.php b/library/includes/bbcode.php index 94b173fc..e5cad2f6 100644 --- a/library/includes/bbcode.php +++ b/library/includes/bbcode.php @@ -873,7 +873,7 @@ class words_rate $this->del_text_hl = $text; // длинное сообщение - if (strlen($text) > 600) + if (mb_strlen($text, 'UTF-8') > 600) { return $this->words_rate; }