aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index fde1f9594..0fbeed519 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -354,7 +354,7 @@ function zot_refresh($them,$channel = null, $force = false) {
$connected_set = intval($v);
continue;
}
- if($v) {
+ if(($v) && (array_key_exists($k,$global_perms))) {
$their_perms = $their_perms | intval($global_perms[$k][1]);
}
}