diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-06-14 15:04:49 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-06-14 15:05:20 -0400 |
commit | f7e686d4f1c73a8fe4ca760ef91c3d88d864a117 (patch) | |
tree | de812749e5a45a2a338e4fb0cb5fc1799ca0deab | |
parent | ec69377ade89d02ebea4acb9594e9bc29c40ddb4 (diff) | |
download | nextcloud-server-f7e686d4f1c73a8fe4ca760ef91c3d88d864a117.tar.gz nextcloud-server-f7e686d4f1c73a8fe4ca760ef91c3d88d864a117.zip |
Revert "Fix a counting mistake"
This reverts commit c20abfef388f9159e71b71c17a57d849faa5d913.
-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 31170f07fd1..02e121b77c7 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) - 1; $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']; |