From 407f46c043219efb8b1a0b91ba0845c32590650b Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 11 Oct 2023 20:41:40 +0000 Subject: [PATCH] Exit when the class doen't exists --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index ad93b949d..b061aa1df 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -2063,7 +2063,7 @@ class Item */ private static function splitByBlocks(string $body): array { - if (class_exists('IntlChar')) { + if (!class_exists('IntlChar')) { return [$body]; }