Get correct size for default avatar in email summary

This commit is contained in:
Evan Prodromou 2011-02-15 12:53:02 -05:00
parent 96d0141848
commit ff502bb148

View File

@ -148,7 +148,7 @@ class UserEmailSummaryHandler extends QueueHandler
'valign' => 'top')); 'valign' => 'top'));
$out->element('img', array('src' => ($avatar) ? $out->element('img', array('src' => ($avatar) ?
$avatar->displayUrl() : $avatar->displayUrl() :
Avatar::defaultImage($avatar_size), Avatar::defaultImage(AVATAR_STREAM_SIZE),
'class' => 'avatar photo', 'class' => 'avatar photo',
'width' => AVATAR_STREAM_SIZE, 'width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE, 'height' => AVATAR_STREAM_SIZE,