diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-08 10:56:06 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-08 10:56:06 +0200 |
commit | 5b5e9d148e6bab6ae4b78cebd35686e44703216c (patch) | |
tree | 4624e2e6611f02fb17ba391e0e46ab17ee416774 /apps/files_trashbin | |
parent | a9c9b5edf4dfc4910a005f046d8124be363e400f (diff) | |
download | nextcloud-server-5b5e9d148e6bab6ae4b78cebd35686e44703216c.tar.gz nextcloud-server-5b5e9d148e6bab6ae4b78cebd35686e44703216c.zip |
check if I can create a file at the location
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 3fe0ef0b7de..120df345dda 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -376,7 +376,7 @@ class Trashbin { // if location no longer exists, restore file in the root directory if ($location !== '/' && (!$view->is_dir('files' . $location) || - !$view->isUpdatable('files' . $location)) + !$view->isCreatable('files' . $location)) ) { $location = ''; } |