diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-29 21:58:05 +0400 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-31 14:27:49 +0400 |
commit | 0fa0e92883c614412deefd9600de3bb7e571f461 (patch) | |
tree | f0902f2617f1d49e92f66368273513c96df7e8d8 /lib/public | |
parent | 8e80aa3630a7ed0140042fda0b0c91c03e85e7d7 (diff) |
fix $parent/$source typo
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index a5e74826f79..caf208255ae 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -141,10 +141,9 @@ class Share { $view = new \OC\Files\View('/' . $user . '/files/'); $meta = $view->getFileInfo(\OC_Filesystem::normalizePath($path)); $source = $meta['fileid']; - $parent = $meta['parent']; $cache = new \OC\Files\Cache\Cache($meta['storage']); - while ($parent !== '-1') { + while ($source !== '-1') { // Fetch all shares of this file path from DB $query = \OC_DB::prepare( |