aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-09-13 09:49:09 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-13 08:57:57 +0000
commit131ccfca2e5bfefb7a7f0861b24b73f6697286c4 (patch)
tree516775b1a83868a7a5d32362bb1127b86a1e0cbe
parentb1d6625676e9350d5933b46e7044eb54d54bf8ea (diff)
downloadnextcloud-server-131ccfca2e5bfefb7a7f0861b24b73f6697286c4.tar.gz
nextcloud-server-131ccfca2e5bfefb7a7f0861b24b73f6697286c4.zip
fix: check if key is setbackport/47854/stable29
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
-rw-r--r--lib/private/App/AppStore/Fetcher/AppFetcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php
index 0f96049d0ef..0188f56c8ed 100644
--- a/lib/private/App/AppStore/Fetcher/AppFetcher.php
+++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php
@@ -77,7 +77,7 @@ class AppFetcher extends Fetcher {
/** @var mixed[] $response */
$response = parent::fetch($ETag, $content);
- if (empty($response) || $response['data'] === null) {
+ if (!isset($response['data']) || $response['data'] === null) {
$this->logger->warning('Response from appstore is invalid, apps could not be retrieved. Try again later.', ['app' => 'appstoreFetcher']);
return [];
}