From: Michael Gapczynski Date: Wed, 27 Jun 2012 16:07:42 +0000 (-0400) Subject: Don't overwrite fake directory stream for Shared storage X-Git-Tag: v4.0.5~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=895d5707ee63849c8ff5ee2619a2cdaf9f6dc6af;p=nextcloud-server.git Don't overwrite fake directory stream for Shared storage --- diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 3bb6e73035e..d46a7d4e70a 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -81,8 +81,8 @@ class OC_Filestorage_Shared extends OC_Filestorage { $files[] = basename($item['target']); } } - OC_FakeDirStream::$dirs['shared']=$files; - return opendir('fakedir://shared'); + OC_FakeDirStream::$dirs['shared'.$path] = $files; + return opendir('fakedir://shared'.$path); } else { $source = $this->getSource($path); if ($source) {