From: Roland Häder Date: Wed, 22 Jun 2022 15:09:20 +0000 (+0200) Subject: Fixed: ?? didn't work here as bool won't be seen as null X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb231bc548d93540fa7b1516cabb95cce3994ba5;p=friendica.git Fixed: ?? didn't work here as bool won't be seen as null --- diff --git a/src/Util/Images.php b/src/Util/Images.php index c36ce26899..4fa2eda04a 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -247,7 +247,7 @@ class Images $data['size'] = $filesize; } - return $data ?? []; + return is_array($data) ? $data : []; } /**