Fixed: ?? didn't work here as bool won't be seen as null
This commit is contained in:
@@ -247,7 +247,7 @@ class Images
|
||||
$data['size'] = $filesize;
|
||||
}
|
||||
|
||||
return $data ?? [];
|
||||
return is_array($data) ? $data : [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user