aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-28 00:51:21 +0200
committerMax Kostikov <max@kostikov.co>2018-09-28 00:51:21 +0200
commit2836bce8fe358befe12960f72e700dfe95402cfa (patch)
tree125298cceb979a9c35acd183a273c4811330924a /include/security.php
parent7f95d47721e15ab2547173a9bc65ede51dd5303b (diff)
downloadvolse-hubzilla-2836bce8fe358befe12960f72e700dfe95402cfa.tar.gz
volse-hubzilla-2836bce8fe358befe12960f72e700dfe95402cfa.tar.bz2
volse-hubzilla-2836bce8fe358befe12960f72e700dfe95402cfa.zip
Update security.php
Diffstat (limited to 'include/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 adeb235ed..493d34699 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 pgrp left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
+ $r = q("SELECT hash FROM pgrp left join pgrp_member on pgrp.id = pgrp_member.gid WHERE xchan = '%s' ",
dbesc($contact_id)
);
if($r) {