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

View File

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