]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Images.php
Merge pull request #11669 from MrPetovan/bug/11666-email-subject-double-encode
[friendica.git] / src / Util / Images.php
index 20212e49538362ad3d643524c529f2169e106649..c36ce26899886c446857d70df7c86c37433ae54b 100644 (file)
@@ -206,6 +206,7 @@ class Images
 
        /**
         * Gets info from URL uncached
+        *
         * @param string $url URL
         * @return array Info array
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
@@ -246,7 +247,7 @@ class Images
                        $data['size'] = $filesize;
                }
 
-               return $data;
+               return $data ?? [];
        }
 
        /**