Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-02-18 10:29:19 +0300
committerGitHub <noreply@github.com>2021-02-18 10:29:19 +0300
commit9f0f913271ba78b862dcabfdad00b3fc54577ee7 (patch)
tree62105279d1b42d4840d05a1e0d7bd3066e899326
parentd6fd0d2286ecc2ab4ba20d13e0b651f7bf921618 (diff)
parentb147abe8e893be2362111e430091ff10df9067af (diff)
Merge pull request #25704 from nextcloud/backport/25700/stable19
[stable19] Initialize \OCP\AppFramework\Http\ZipResponse::$resources
-rw-r--r--lib/public/AppFramework/Http/ZipResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php
index 1e4b584fd20..a5cc82ebad8 100644
--- a/lib/public/AppFramework/Http/ZipResponse.php
+++ b/lib/public/AppFramework/Http/ZipResponse.php
@@ -38,7 +38,7 @@ use OCP\IRequest;
*/
class ZipResponse extends Response implements ICallbackResponse {
/** @var resource[] Files to be added to the zip response */
- private $resources;
+ private $resources = [];
/** @var string Filename that the zip file should have */
private $name;
private $request;