mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix offset for folder detection, no longer including '/Shared' in file target path
This commit is contained in:
parent
e954de6030
commit
83117445ac
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
|
|||
if (isset($this->files[$target])) {
|
||||
return $this->files[$target];
|
||||
} else {
|
||||
$pos = strpos($target, '/', 8);
|
||||
$pos = strpos($target, '/', 1);
|
||||
// Get shared folder name
|
||||
if ($pos !== false) {
|
||||
$folder = substr($target, 0, $pos);
|
||||
|
|
|
|||
Loading…
Reference in a new issue