diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-04-08 22:55:13 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-04-08 22:55:13 +0000 |
commit | e5657ca4bbd8a43bf2dd44c2554e807a45224bd7 (patch) | |
tree | 3ad9a722f787e277ab571d40522cd5289da738dc /lib/groupminilist.php | |
parent | e632f3be6f48c187b8049f35756b25ae80be2f0b (diff) | |
parent | 070cd3533c3474dc065c6681befb92dac51f4bf7 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/groupminilist.php')
-rw-r--r-- | lib/groupminilist.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/groupminilist.php b/lib/groupminilist.php index fe38d0340..ae2d237f1 100644 --- a/lib/groupminilist.php +++ b/lib/groupminilist.php @@ -33,7 +33,7 @@ if (!defined('LACONICA')) { require_once INSTALLDIR.'/lib/grouplist.php'; -define('GROUPS_PER_MINILIST', 80); +define('GROUPS_PER_MINILIST', 27); /** * Widget to show a list of groups, good for sidebar @@ -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, |