]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't overwrite fake directory stream for Shared storage
authorMichael Gapczynski <mtgap@owncloud.com>
Wed, 27 Jun 2012 16:07:42 +0000 (12:07 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Wed, 27 Jun 2012 16:07:42 +0000 (12:07 -0400)
apps/files_sharing/sharedstorage.php

index fed1b834fa3a923e38b4427388e70b6055952ed3..4138fc2b399303fbf0037169ac53fe26f1c62f3e 100644 (file)
@@ -81,8 +81,8 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
                                        $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) {