aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-03-14 15:46:57 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-03-14 15:46:57 +0100
commitb8e8517725df6924c333e0c2c7c21a2696de4f25 (patch)
tree16851e62950a75f043756f8d59183937831bc104 /include/security.php
parentdef04549529d34c6fbe9c7a2396dad7909859953 (diff)
parent2f5862713e2fb959134c2de23ca4ef9907912030 (diff)
downloadvolse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.tar.gz
volse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.tar.bz2
volse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
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 215cc92cb..f3cf2d1b6 100644
--- a/include/security.php
+++ b/include/security.php
@@ -415,7 +415,7 @@ function init_groups_visitor($contact_id) {
$r = q("SELECT hash FROM `groups` left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
dbesc($contact_id)
);
- if(count($r)) {
+ if($r) {
foreach($r as $rr)
$groups[] = $rr['hash'];
}