Update security.php
This commit is contained in:
parent
7f95d47721
commit
2836bce8fe
@ -577,7 +577,7 @@ function init_groups_visitor($contact_id) {
|
|||||||
|
|
||||||
// physical groups this channel is a member of
|
// 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)
|
dbesc($contact_id)
|
||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
|
Reference in New Issue
Block a user