diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-11 11:17:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-11 11:17:26 +0100 |
commit | 9a40ccfbf0c2f4fc3f6dd13ebdb405e048959a0e (patch) | |
tree | 24c8817f5b6fa2811bc0e1f4fc66a0b936856a59 /lib/private/DirectEditing/Token.php | |
parent | 2164ef045f88533cb3ca1df3881c3cb6b78e9018 (diff) | |
parent | e29a76bc79dc252b5659e38287f07c56ffa3e314 (diff) | |
download | nextcloud-server-9a40ccfbf0c2f4fc3f6dd13ebdb405e048959a0e.tar.gz nextcloud-server-9a40ccfbf0c2f4fc3f6dd13ebdb405e048959a0e.zip |
Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-path
Use file path for direct editing
Diffstat (limited to 'lib/private/DirectEditing/Token.php')
-rw-r--r-- | lib/private/DirectEditing/Token.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DirectEditing/Token.php b/lib/private/DirectEditing/Token.php index c991ebef9db..add6f5b471c 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 { |