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

remotes/origin/stable45
Michael Gapczynski 14 years ago
parent e954de6030
commit 83117445ac
  1. 2
      apps/files_sharing/sharedstorage.php

@ -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…
Cancel
Save