diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php index 6aa0bdffb989a0c9e45656b0bc7a94af114d8079..a7eff3d44e0bdf1539e2b6f8515242d2b328427e 100644 --- a/apps/files_trashbin/lib/trash.php +++ b/apps/files_trashbin/lib/trash.php @@ -102,7 +102,7 @@ class Trashbin { $location = $result[0]['location']; if ( $result[0]['location'] != '/' && (!$view->is_dir('files'.$result[0]['location']) || - !$view->is_writable('files'.$result[0]['location'])) ) { + !$view->isUpdatable('files'.$result[0]['location'])) ) { $location = ''; } } else {