don't provide 'show more' on remote friends in common unless there are actually more

This commit is contained in:
friendica 2012-05-08 17:40:56 -07:00
parent 10812e0c19
commit a048fd806a
2 changed files with 3 additions and 2 deletions

View file

@ -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
));