diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-02-18 08:28:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 08:28:36 +0100 |
commit | 5c3dd4cc7409d16dc27bae3102b4cdd2f6399c8e (patch) | |
tree | 1f859fb43893564e1f1a806488ba202ca68c9ae5 /lib | |
parent | 7c11b9e97406368d2e9c2961aa65e5a42d84049b (diff) | |
parent | cff48176c3d20a418b8b1272fc1c2c9a10e44c9b (diff) | |
download | nextcloud-server-5c3dd4cc7409d16dc27bae3102b4cdd2f6399c8e.tar.gz nextcloud-server-5c3dd4cc7409d16dc27bae3102b4cdd2f6399c8e.zip |
Merge pull request #25702 from nextcloud/backport/25700/stable21
[stable21] Initialize \OCP\AppFramework\Http\ZipResponse::$resources
Diffstat (limited to 'lib')
-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; |