diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php index 1e4b584fd2021..a5cc82ebad860 100644 --- a/lib/public/AppFramework/Http/ZipResponse.php +++ b/lib/public/AppFramework/Http/ZipResponse.php @@ -38,7 +38,7 @@ */ 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;