Default to profile size in Avatar::defaultAvatar

This commit is contained in:
Mikael Nordfeldth 2016-02-24 16:42:35 +01:00
parent e6f07d8554
commit 3ef573f67c

View File

@ -207,7 +207,7 @@ class Avatar extends Managed_DataObject
}
}
static function defaultImage($size)
static function defaultImage($size=AVATAR_PROFILE_SIZE)
{
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
AVATAR_STREAM_SIZE => 'stream',