diff options
author | redmatrix <git@macgirvin.com> | 2016-03-10 15:43:59 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-10 15:43:59 -0800 |
commit | 32c23ef562fc963c2972c51895b4cfa71743e495 (patch) | |
tree | 64ee3cd7ddca017ac3b33b73668d515d85e2c22c /include/security.php | |
parent | 107f80892a19f0ccd0cd30a0e3fc5ce3a41829b7 (diff) | |
download | volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.tar.gz volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.tar.bz2 volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.zip |
some minor cleanups
Diffstat (limited to 'include/security.php')
-rw-r--r-- | include/security.php | 2 |
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']; } |