From: Michael Date: Wed, 11 Oct 2023 20:41:40 +0000 (+0000) Subject: Exit when the class doen't exists X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=407f46c043219efb8b1a0b91ba0845c32590650b;p=friendica.git Exit when the class doen't exists --- diff --git a/src/Model/Item.php b/src/Model/Item.php index ad93b949d9..b061aa1df9 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]; }