Skip to content
Snippets Groups Projects
Commit f3b30e46 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Forgot $ sign for variable

parent f7e686d4
No related branches found
No related tags found
No related merge requests found
...@@ -495,7 +495,7 @@ class OC_Share { ...@@ -495,7 +495,7 @@ class OC_Share {
$result = $query->execute(array($gid))->fetchAll(); $result = $query->execute(array($gid))->fetchAll();
if (count($result) > 0) { if (count($result) > 0) {
$lastSource = ''; $lastSource = '';
for ($i = 0; i < count($result); $i++) { for ($i = 0; $i < count($result); $i++) {
if ($result[$i]['source'] != $lastSource) { if ($result[$i]['source'] != $lastSource) {
new OC_Share($result[$i]['source'], $arguments['gid'], $result[$i]['permissions']); new OC_Share($result[$i]['source'], $arguments['gid'], $result[$i]['permissions']);
$lastSource = $result[$i]['source']; $lastSource = $result[$i]['source'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment