Get correct size for default avatar in email summary
This commit is contained in:
parent
96d0141848
commit
ff502bb148
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user