aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-28 00:06:26 +0200
committerMax Kostikov <max@kostikov.co>2018-09-28 00:06:26 +0200
commit444ae51a3e34438f1d4863c76e114d102d4087a3 (patch)
tree865fec0c0a3d3ce2295e58c41289d933498631f4 /Zotlabs
parent07f82e4a148eb11188e3182b42ae5d683c37e298 (diff)
downloadvolse-hubzilla-444ae51a3e34438f1d4863c76e114d102d4087a3.tar.gz
volse-hubzilla-444ae51a3e34438f1d4863c76e114d102d4087a3.tar.bz2
volse-hubzilla-444ae51a3e34438f1d4863c76e114d102d4087a3.zip
Update Lockview.php
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Lockview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Lockview.php b/Zotlabs/Module/Lockview.php
index 466d16997..d7ed07a53 100644
--- a/Zotlabs/Module/Lockview.php
+++ b/Zotlabs/Module/Lockview.php
@@ -118,7 +118,7 @@ class Lockview extends \Zotlabs\Web\Controller {
}
if(count($allowed_groups)) {
- $r = q("SELECT gname FROM groups WHERE hash IN ( " . implode(', ', $allowed_groups) . " )");
+ $r = q("SELECT gname FROM pgrp WHERE hash IN ( " . implode(', ', $allowed_groups) . " )");
if($r)
foreach($r as $rr)
$l[] = '<div class="dropdown-item"><b>' . $rr['gname'] . '</b></div>';
@@ -156,7 +156,7 @@ class Lockview extends \Zotlabs\Web\Controller {
if(count($deny_groups)) {
- $r = q("SELECT gname FROM groups WHERE hash IN ( " . implode(', ', $deny_groups) . " )");
+ $r = q("SELECT gname FROM pgrp WHERE hash IN ( " . implode(', ', $deny_groups) . " )");
if($r)
foreach($r as $rr)
$l[] = '<div class="dropdown-item"><b><strike>' . $rr['gname'] . '</strike></b></div>';