use mini logo at mini size, not stream logo

This commit is contained in:
Evan Prodromou 2009-04-08 00:32:28 -04:00
parent b8bfc8beae
commit 154e8bb858
1 changed files with 3 additions and 2 deletions

View File

@ -75,8 +75,9 @@ class GroupMiniList extends GroupList
'href' => $this->group->homeUrl(),
'rel' => 'contact group',
'class' => 'url'));
$logo = ($this->group->stream_logo) ?
$this->group->stream_logo : User_group::defaultLogo(AVATAR_STREAM_SIZE);
$logo = ($this->group->mini_logo) ?
$this->group->mini_logo : User_group::defaultLogo(AVATAR_MINI_SIZE);
$this->out->element('img', array('src' => $logo,
'width' => AVATAR_MINI_SIZE,