diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-02-17 22:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 22:26:06 +0100 |
commit | 82f4bb0ebae18c9c7fa763de6e0c9e5dd3c2dcc4 (patch) | |
tree | 23a5996af88608c99e77ecba048be3f8c7877a62 | |
parent | 00d1a58a09081ace437eadf7c836ed692a7c1cfd (diff) | |
parent | 08d44585420af2ff7426d1df862ec53cce4b1d70 (diff) | |
download | nextcloud-server-82f4bb0ebae18c9c7fa763de6e0c9e5dd3c2dcc4.tar.gz nextcloud-server-82f4bb0ebae18c9c7fa763de6e0c9e5dd3c2dcc4.zip |
Merge pull request #25700 from nextcloud/fix/zipresponse-initialize-array
Initialize \OCP\AppFramework\Http\ZipResponse::$resources
-rw-r--r-- | lib/public/AppFramework/Http/ZipResponse.php | 2 |
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; |