in function index of browse.module.php
remove this line
[code]
.$mfslink.'<br/>'
[/code]
and also this you don't need anymore
[code]
if ($member['id'] != $client['id']) {
$mfs = sql_counts(sql_query("SELECT u.* FROM ".tb()."friends as f1 inner join ".tb()."friends as f2 on f1.fid = f2.fid left join ".tb()."accounts as u on f1.fid=u.id where f1.uid={$member['id']} and f2.uid={$client['id']}"));
$mfslink ="";
if ($mfs > 0) {
if ($mfs == 1) {
$mfslink = url('u/'.$member['username'] .'/mutualfriends',$mfs.t(' friend in common'));
}
else {
$mfslink = url('u/'.$member['username'] .'/mutualfriends',$mfs.t(' friends in common'));
}
}
}
[/code] |