]> 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:09:11 +0000 (12:09 -0400)
apps/files_sharing/sharedstorage.php

index 3bb6e73035e872696dc8a0217530bb85f9b17356..d46a7d4e70abd1e6881fec6c5a7d2d986ecc4361 100644 (file)
@@ -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) {