show the full name for likes

This commit is contained in:
Evan Prodromou 2011-04-21 12:00:10 -04:00
parent 34e26b53d5
commit 9fcda5b2da

View File

@ -410,10 +410,9 @@ abstract class NoticeListActorsItem extends NoticeListItem
} else {
$profile = Profile::staticGet('id', $id);
if ($profile) {
$links[] = sprintf('<a href="%s" title="%s">%s</a>',
$links[] = sprintf('<a href="%s">%s</a>',
htmlspecialchars($profile->profileurl),
htmlspecialchars($profile->getBestName()),
htmlspecialchars($profile->nickname));
htmlspecialchars($profile->getBestName()));
}
}
}