Skip to content
Snippets Groups Projects
Commit 83117445 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix offset for folder detection, no longer including '/Shared' in file target path

parent e954de60
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment