aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-02 02:18:54 -0700
committerfriendica <info@friendica.com>2012-05-02 02:18:54 -0700
commit21e18db75708df68fb8ea803c0e1694accc34623 (patch)
treefa41465cf563b60a78fa5d2df8fb86fe3604488e
parentdc31b93941c2412ad3d61bf7d67d25a3a4153af3 (diff)
downloadvolse-hubzilla-21e18db75708df68fb8ea803c0e1694accc34623.tar.gz
volse-hubzilla-21e18db75708df68fb8ea803c0e1694accc34623.tar.bz2
volse-hubzilla-21e18db75708df68fb8ea803c0e1694accc34623.zip
missing param
-rw-r--r--include/contact_widgets.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index c6f3168fe..bf3a86958 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'];