use mini logo at mini size, not stream logo
This commit is contained in:
parent
b8bfc8beae
commit
154e8bb858
|
@ -75,8 +75,9 @@ class GroupMiniList extends GroupList
|
||||||
'href' => $this->group->homeUrl(),
|
'href' => $this->group->homeUrl(),
|
||||||
'rel' => 'contact group',
|
'rel' => 'contact group',
|
||||||
'class' => 'url'));
|
'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,
|
$this->out->element('img', array('src' => $logo,
|
||||||
'width' => AVATAR_MINI_SIZE,
|
'width' => AVATAR_MINI_SIZE,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user