projects
/
banana.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23148be
)
bugfix
author
x99bachelart
<x99bachelart>
Sat, 27 Sep 2003 11:34:40 +0000
(11:34 +0000)
committer
x99bachelart
<x99bachelart>
Sat, 27 Sep 2003 11:34:40 +0000
(11:34 +0000)
include/groups.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/groups.inc.php
b/include/groups.inc.php
index
4c5e647
..
166ecd8
100644
(file)
--- 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]="-";