From: x99bachelart Date: Sat, 27 Sep 2003 11:34:40 +0000 (+0000) Subject: bugfix X-Git-Tag: 1.8~399 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=34c5c0722d8d8a79c3894c68626e94eb2eeadb3b;p=banana.git bugfix --- diff --git a/include/groups.inc.php b/include/groups.inc.php index 4c5e647..166ecd8 100644 --- a/include/groups.inc.php +++ b/include/groups.inc.php @@ -51,7 +51,7 @@ class groups { } } else { foreach ($list as $g=>$l) { - if ((($_type==0) and (in_array($g,$profile['subscribe']) or !count($profile['subscribe']))) + if ((($_type==0) and (!count($profile['subscribe']) and in_array($g,$profile['subscribe']))) or (($_type==1) and in_array($g,array_keys($list))) or ($_type==2)) { $this->overview[$g][0]="-";