From 21e18db75708df68fb8ea803c0e1694accc34623 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 2 May 2012 02:18:54 -0700 Subject: [PATCH] missing param --- include/contact_widgets.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/contact_widgets.php b/include/contact_widgets.php index c6f3168fe4..bf3a869583 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -147,7 +147,8 @@ function common_friends_visitor_widget($profile_uid) { else { if(get_my_url()) { $r = q("select id from contact where nurl = '%s' and uid = %d limit 1", - dbesc(normalise_link(get_my_url())) + dbesc(normalise_link(get_my_url())), + intval($profile_uid) ); if(count($r)) $cid = $r[0]['id'];