From fb76675a28b37b7281546373671d0dabbd69ef46 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 21 Jan 2013 19:56:39 -0800 Subject: now we're into the minor nitty fixes --- include/security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index 25318b3e8..f28174153 100644 --- a/include/security.php +++ b/include/security.php @@ -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) -- cgit v1.2.3