]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use mini logo at mini size, not stream logo
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 8 Apr 2009 04:32:28 +0000 (00:32 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 8 Apr 2009 04:32:28 +0000 (00:32 -0400)
lib/groupminilist.php

index e8d3a4e3a2c58108bbcc502255a82adcb02d2967..ae2d237f1de65b9c523d3ca00a5a98fc374ee2f2 100644 (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,