diff --git a/lib/WOPI/DiscoveryManager.php b/lib/WOPI/DiscoveryManager.php index 1e81223b82..fd9da51cde 100644 --- a/lib/WOPI/DiscoveryManager.php +++ b/lib/WOPI/DiscoveryManager.php @@ -73,6 +73,7 @@ public function get() { return $decodedFile['data']; } } catch (NotFoundException $e) { + $file = $this->appData->newFile('discovery.xml'); } $remoteHost = $this->config->getAppValue('richdocuments', 'wopi_url');