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
1 changed files with 1 additions and 1 deletions

View File

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