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
1 changed files with 2 additions and 3 deletions

View File

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