bugfix
authorx99bachelart <x99bachelart>
Sat, 27 Sep 2003 11:34:40 +0000 (11:34 +0000)
committerx99bachelart <x99bachelart>
Sat, 27 Sep 2003 11:34:40 +0000 (11:34 +0000)
include/groups.inc.php

index 4c5e647..166ecd8 100644 (file)
@@ -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]="-";