]> git.mxchange.org Git - friendica.git/commitdiff
$data can turn into bool here
authorRoland Häder <roland@mxchange.org>
Wed, 22 Jun 2022 04:03:37 +0000 (06:03 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 22 Jun 2022 12:36:46 +0000 (14:36 +0200)
src/Util/Images.php

index 9f36f9063ea07a9bcf2ee0077f3110fe9b346ff4..20212e49538362ad3d643524c529f2169e106649 100644 (file)
@@ -201,7 +201,7 @@ class Images
                        DI::cache()->set($cacheKey, $data);
                }
 
-               return $data;
+               return $data ?? [];
        }
 
        /**