summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b4d2fbe)
nntp.inc.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@270
9869982d-c50d-0410-be91-
f2a2ec7c7c7b
} else {
$list = $this->listGroups();
if ($mode == Banana::BOXES_SUB) {
} else {
$list = $this->listGroups();
if ($mode == Banana::BOXES_SUB) {
- $sub = array_flip(Banana::$profile['subscribe']);
+ if (is_array(Banana::$profile['subscribe'])) {
+ $sub = array_flip(Banana::$profile['subscribe']);
+ } else {
+ $sub = array();
+ }
$list = array_intersect_key($list, $sub);
}
}
$list = array_intersect_key($list, $sub);
}
}