From 34c5c0722d8d8a79c3894c68626e94eb2eeadb3b Mon Sep 17 00:00:00 2001 From: x99bachelart Date: Sat, 27 Sep 2003 11:34:40 +0000 Subject: [PATCH] bugfix --- include/groups.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]="-"; -- 2.1.4