parent
ec69377ade
commit
f7e686d4f1
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue