aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-17 20:59:58 -0700
committerfriendica <info@friendica.com>2014-07-17 20:59:58 -0700
commit9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2 (patch)
tree61ad6c39b3b7137eb9e653b2d15f5785f32b058f /include
parentb19176169cd93e7aa305296a85e28c8c1c68352b (diff)
downloadvolse-hubzilla-9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2.tar.gz
volse-hubzilla-9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2.tar.bz2
volse-hubzilla-9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2.zip
ensure that we don't have permission settings issues due to version skew across sites.
Diffstat (limited to 'include')
-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]);
}
}