missing param
This commit is contained in:
parent
dc31b93941
commit
21e18db757
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ function common_friends_visitor_widget($profile_uid) {
|
||||||
else {
|
else {
|
||||||
if(get_my_url()) {
|
if(get_my_url()) {
|
||||||
$r = q("select id from contact where nurl = '%s' and uid = %d limit 1",
|
$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))
|
if(count($r))
|
||||||
$cid = $r[0]['id'];
|
$cid = $r[0]['id'];
|
||||||
|
|
Loading…
Reference in a new issue