set height and width of avatar td in email summary
This commit is contained in:
parent
974e41aa4b
commit
76aed36f38
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user