mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix locking root of a view
This commit is contained in:
parent
b98dd3ceb8
commit
f0b8672729
1 changed files with 1 additions and 1 deletions
|
|
@ -1618,11 +1618,11 @@ class View {
|
|||
* @return string[]
|
||||
*/
|
||||
private function getParents($path) {
|
||||
$path = trim($path, '/');
|
||||
if (!$path) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$path = trim($path, '/');
|
||||
$parts = explode('/', $path);
|
||||
|
||||
// remove the single file
|
||||
|
|
|
|||
Loading…
Reference in a new issue