mirror of
https://github.com/friendica/friendica
synced 2024-12-23 05:20:15 +00:00
Fixed: ?? didn't work here as bool won't be seen as null
This commit is contained in:
parent
78bf7f187c
commit
eb231bc548
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class Images
|
|||
$data['size'] = $filesize;
|
||||
}
|
||||
|
||||
return $data ?? [];
|
||||
return is_array($data) ? $data : [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue