now we're into the minor nitty fixes

This commit is contained in:
friendica
2013-01-21 19:56:39 -08:00
parent 4119e1f9cc
commit fb76675a28
4 changed files with 7 additions and 6 deletions

View File

@@ -349,7 +349,7 @@ if(! function_exists('init_groups_visitor')) {
function init_groups_visitor($contact_id) {
$groups = array();
$r = q("SELECT gid FROM group_member WHERE xchan = '%s' ",
intval($contact_id)
dbesc($contact_id)
);
if(count($r)) {
foreach($r as $rr)