X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcontact_widgets.php;h=ce1cdbad55e003b647a0ca75c83e2b8e11a337ef;hb=082ad499c6bceadb2a1bc5127229bd0f86ee3895;hp=42d3afdee7cd375e6f9e546a0349595d9533dd13;hpb=dedaa301cba5ca6c21af9ec54cc54a7f7480e2f4;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 42d3afdee7..ce1cdbad55 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -183,7 +183,8 @@ function common_friends_visitor_widget($profile_uid) { '$desc' => sprintf( tt("%d contact in common", "%d contacts in common", $t), $t), '$base' => $a->get_baseurl(), '$uid' => $profile_uid, - '$cid' => $cid, + '$cid' => (($cid) ? $cid : '0'), + '$linkmore' => (($t > 5) ? 'true' : ''), '$more' => t('show more'), '$items' => $r ));