diff options
-rw-r--r-- | apps/files_sharing/lib_share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php index 02e121b77c7..4abf80ae19c 100644 --- a/apps/files_sharing/lib_share.php +++ b/apps/files_sharing/lib_share.php @@ -495,7 +495,7 @@ class OC_Share { $result = $query->execute(array($gid))->fetchAll(); if (count($result) > 0) { $lastSource = ''; - for ($i = 0; i < count($result); $i++) { + for ($i = 0; $i < count($result); $i++) { if ($result[$i]['source'] != $lastSource) { new OC_Share($result[$i]['source'], $arguments['gid'], $result[$i]['permissions']); $lastSource = $result[$i]['source']; |