1
0
Fork 0

Fixed: ?? didn't work here as bool won't be seen as null

This commit is contained in:
Roland Häder 2022-06-22 17:09:20 +02:00
parent 78bf7f187c
commit eb231bc548
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

@ -247,7 +247,7 @@ class Images
$data['size'] = $filesize;
}
return $data ?? [];
return is_array($data) ? $data : [];
}
/**