set height and width of avatar td in email summary

This commit is contained in:
Evan Prodromou 2010-11-09 06:59:16 -05:00
parent 974e41aa4b
commit 76aed36f38

View File

@ -142,7 +142,8 @@ class UserEmailSummaryHandler extends QueueHandler
$avatar = $profile->getAvatar(AVATAR_STREAM_SIZE); $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
$out->elementStart('tr'); $out->elementStart('tr');
$out->elementStart('td'); $out->elementStart('td', array('width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE));
$out->element('img', array('src' => ($avatar) ? $out->element('img', array('src' => ($avatar) ?
$avatar->displayUrl() : $avatar->displayUrl() :
Avatar::defaultImage($avatar_size), Avatar::defaultImage($avatar_size),