diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-18 16:11:03 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-18 16:11:03 +0100 |
commit | e16321368f27f3b9534b3fb835fbe6c6fc85077e (patch) | |
tree | 8f94d6484f76948ebf5cefaa55abd396dc6be559 /apps/files_sharing | |
parent | d3b62893afc282c4e49c1bcd349b624370e61c3f (diff) | |
download | nextcloud-server-e16321368f27f3b9534b3fb835fbe6c6fc85077e.tar.gz nextcloud-server-e16321368f27f3b9534b3fb835fbe6c6fc85077e.zip |
Fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/External/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index aeb95a8f2f9..55f366fd65a 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -155,7 +155,7 @@ class Manager { $accepted = $accepted ? IShare::STATUS_ACCEPTED : IShare::STATUS_PENDING; $name = Filesystem::normalizePath('/' . $name); - if (!$accepted) { + if ($accepted !== IShare::STATUS_ACCEPTED) { // To avoid conflicts with the mount point generation later, // we only use a temporary mount point name here. The real // mount point name will be generated when accepting the share, |