aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-27 23:52:46 +0200
committerMax Kostikov <max@kostikov.co>2018-09-27 23:52:46 +0200
commitb54aabc9584f3515734d13fa12ef6d1dc99869e8 (patch)
tree698669534e2d827c5a56bbfcf4fdbd5b95be3862
parenta45fe72eb9278969e3426135cad8f2eec4a5a35a (diff)
downloadvolse-hubzilla-b54aabc9584f3515734d13fa12ef6d1dc99869e8.tar.gz
volse-hubzilla-b54aabc9584f3515734d13fa12ef6d1dc99869e8.tar.bz2
volse-hubzilla-b54aabc9584f3515734d13fa12ef6d1dc99869e8.zip
Update security.php
-rw-r--r--include/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php
index ffdd1d7ea..adeb235ed 100644
--- a/include/security.php
+++ b/include/security.php
@@ -577,7 +577,7 @@ function init_groups_visitor($contact_id) {
// physical groups this channel is a member of
- $r = q("SELECT hash FROM groups left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
+ $r = q("SELECT hash FROM pgrp left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
dbesc($contact_id)
);
if($r) {