From 9fcda5b2da435e1e522028bd1a161a6b3916b330 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 21 Apr 2011 12:00:10 -0400 Subject: [PATCH] show the full name for likes --- lib/threadednoticelist.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/threadednoticelist.php b/lib/threadednoticelist.php index fc212a5239..72b8356b6c 100644 --- a/lib/threadednoticelist.php +++ b/lib/threadednoticelist.php @@ -410,10 +410,9 @@ abstract class NoticeListActorsItem extends NoticeListItem } else { $profile = Profile::staticGet('id', $id); if ($profile) { - $links[] = sprintf('%s', + $links[] = sprintf('%s', htmlspecialchars($profile->profileurl), - htmlspecialchars($profile->getBestName()), - htmlspecialchars($profile->nickname)); + htmlspecialchars($profile->getBestName())); } } }