two really bad typos cancelled each other out so typo couldn't see either.
This commit is contained in:
parent
27aa8560ae
commit
cd14b0665e
@ -48,7 +48,7 @@ function common_content(&$a) {
|
|||||||
|
|
||||||
$t = count_common_friends($a->profile['profile_uid'],$observer_hash);
|
$t = count_common_friends($a->profile['profile_uid'],$observer_hash);
|
||||||
|
|
||||||
if(! $t)
|
if(! $t) {
|
||||||
notice( t('No connections in common.') . EOL);
|
notice( t('No connections in common.') . EOL);
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
@ -57,9 +57,9 @@ function common_content(&$a) {
|
|||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
|
|
||||||
$tpl = get_markup_template('common_friends.tpl');
|
$tpl = get_markup_template('common_friends.tpl');
|
||||||
|
|
||||||
foreach($r as $rr) {
|
foreach($r as $rr) {
|
||||||
$o .= replace_macros($tpl,array(
|
$o .= replace_macros($tpl,array(
|
||||||
'$url' => $rr['url'],
|
'$url' => $rr['url'],
|
||||||
'$name' => $rr['name'],
|
'$name' => $rr['name'],
|
||||||
|
Reference in New Issue
Block a user