From e29a76bc79dc252b5659e38287f07c56ffa3e314 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 4 Dec 2019 12:09:33 +0100 Subject: Use file path for direct editing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/DirectEditing/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/DirectEditing/Token.php') diff --git a/lib/private/DirectEditing/Token.php b/lib/private/DirectEditing/Token.php index 148621a2cf3..eac472430cb 100644 --- a/lib/private/DirectEditing/Token.php +++ b/lib/private/DirectEditing/Token.php @@ -50,7 +50,7 @@ class Token implements IToken { if ($this->data['share_id'] !== null) { return $this->manager->getShareForToken($this->data['share_id']); } - return $this->manager->getFileForToken($this->data['user_id'], $this->data['file_id']); + return $this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path']); } public function getToken(): string { -- cgit v1.2.3