mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #44410 from nextcloud/fix/fetcher-on-null
fix(AppStore\Fetcher): Ensure `get` returns an array
This commit is contained in:
commit
c352f0198b
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ abstract class Fetcher {
|
|||
try {
|
||||
$responseJson = $this->fetch($ETag, $content, $allowUnstable);
|
||||
|
||||
if (empty($responseJson)) {
|
||||
if (empty($responseJson) || empty($responseJson['data'])) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue