aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-21 19:56:39 -0800
committerfriendica <info@friendica.com>2013-01-21 19:56:39 -0800
commitfb76675a28b37b7281546373671d0dabbd69ef46 (patch)
tree974b2d68c4aed5a64d383654808cbf3163768771 /include/security.php
parent4119e1f9cc9ebb6a45ec69fd23c1262b3f823c3a (diff)
downloadvolse-hubzilla-fb76675a28b37b7281546373671d0dabbd69ef46.tar.gz
volse-hubzilla-fb76675a28b37b7281546373671d0dabbd69ef46.tar.bz2
volse-hubzilla-fb76675a28b37b7281546373671d0dabbd69ef46.zip
now we're into the minor nitty fixes
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 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)