]> git.mxchange.org Git - friendica.git/commitdiff
Fixed: ?? didn't work here as bool won't be seen as null
authorRoland Häder <roland@mxchange.org>
Wed, 22 Jun 2022 15:09:20 +0000 (17:09 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 22 Jun 2022 15:09:53 +0000 (17:09 +0200)
src/Util/Images.php

index c36ce26899886c446857d70df7c86c37433ae54b..4fa2eda04ad525f8a13600af30d7ddc3db04435e 100644 (file)
@@ -247,7 +247,7 @@ class Images
                        $data['size'] = $filesize;
                }
 
-               return $data ?? [];
+               return is_array($data) ? $data : [];
        }
 
        /**