]> git.mxchange.org Git - friendica.git/commitdiff
Exit when the class doen't exists
authorMichael <heluecht@pirati.ca>
Wed, 11 Oct 2023 20:41:40 +0000 (20:41 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 11 Oct 2023 20:41:40 +0000 (20:41 +0000)
src/Model/Item.php

index ad93b949d9f6e01600108be8c2160b919cce3561..b061aa1df9f1743adea56bbc8572efddc685071a 100644 (file)
@@ -2063,7 +2063,7 @@ class Item
         */
        private static function splitByBlocks(string $body): array
        {
-               if (class_exists('IntlChar')) {
+               if (!class_exists('IntlChar')) {
                        return [$body];
                }