two really bad typos cancelled each other out so typo couldn't see either.

This commit is contained in:
friendica 2013-02-13 17:37:37 -08:00
parent 27aa8560ae
commit cd14b0665e

View File

@ -48,7 +48,7 @@ function common_content(&$a) {
$t = count_common_friends($a->profile['profile_uid'],$observer_hash);
if(! $t)
if(! $t) {
notice( t('No connections in common.') . EOL);
return $o;
}
@ -57,9 +57,9 @@ function common_content(&$a) {
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(
'$url' => $rr['url'],
'$name' => $rr['name'],