Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
b11cf6f8
Commit
b11cf6f8
authored
Oct 09, 2014
by
Morris Jobke
Browse files
Merge pull request #11474 from owncloud/fix_trash_permission_check
check if I can create a file at the location
parents
295c46cc
5b5e9d14
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_trashbin/lib/trashbin.php
View file @
b11cf6f8
...
...
@@ -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
->
is
Upd
atable
(
'files'
.
$location
))
!
$view
->
is
Cre
atable
(
'files'
.
$location
))
)
{
$location
=
''
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment