]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Get correct size for default avatar in email summary
authorEvan Prodromou <evan@status.net>
Tue, 15 Feb 2011 17:53:02 +0000 (12:53 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 15 Feb 2011 17:53:02 +0000 (12:53 -0500)
plugins/EmailSummary/useremailsummaryhandler.php

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