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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/DocumentService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/DocumentService.php b/lib/Service/DocumentService.php
index 6dc254355..ed6dc75a3 100644
--- a/lib/Service/DocumentService.php
+++ b/lib/Service/DocumentService.php
@@ -172,7 +172,7 @@ class DocumentService {
* @throws NotFoundException
*/
public function getBaseFile($document): ISimpleFile {
- return $this->appData->getFolder('documents')->getFile($document);
+ return $this->appData->getFolder('documents')->getFile((string) $document);
}
public function get($documentId) {