diff options
author | friendica <info@friendica.com> | 2012-12-25 14:40:53 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-25 14:40:53 -0800 |
commit | 56d0dbbc96c3020cf8b26112a25f3393d68b0844 (patch) | |
tree | 99eba31669f26ba735c6fea8386eea77b54ce638 /include/group.php | |
parent | 0e0593cc0b6f96424c75f155602f65c42fe5bca2 (diff) | |
parent | acbf822bbdbf268d86fada7028ef9a73adef9879 (diff) | |
download | volse-hubzilla-56d0dbbc96c3020cf8b26112a25f3393d68b0844.tar.gz volse-hubzilla-56d0dbbc96c3020cf8b26112a25f3393d68b0844.tar.bz2 volse-hubzilla-56d0dbbc96c3020cf8b26112a25f3393d68b0844.zip |
Merge pull request #8 from oohlaf/fixes
Stringify groups before imploding
Diffstat (limited to 'include/group.php')
-rw-r--r-- | include/group.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/group.php b/include/group.php index fdcdc4416..6568af0c7 100644 --- a/include/group.php +++ b/include/group.php @@ -280,10 +280,9 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0 function expand_groups($a) { if(! (is_array($a) && count($a))) return array(); + stringify_array_elms($groups); $groups = implode(',', $a); - $groups = dbesc($groups); - stringify_array_elms($groups); $r = q("SELECT xchan FROM `group_member` WHERE `gid` IN ( $groups )"); $ret = array(); if(count($r)) |