From: Michael Date: Sun, 4 Dec 2022 15:14:43 +0000 (+0000) Subject: Fix calls for pictures without blurhash X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c8690a872729a96f737f6aa7dc5b769c73a85f6;p=friendica.git Fix calls for pictures without blurhash --- diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 6dd9212832..f9940f51e3 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -353,7 +353,7 @@ class Photo * @return array * @throws \Exception */ - public static function createPhotoForExternalResource(string $url, int $uid = 0, string $mimetype = '', string $blurhash = '', int $width = 0, int $height = 0): array + public static function createPhotoForExternalResource(string $url, int $uid = 0, string $mimetype = '', string $blurhash = null, int $width = null, int $height = null): array { if (empty($mimetype)) { $mimetype = Images::guessTypeByExtension($url);