From 9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 Jul 2014 20:59:58 -0700 Subject: ensure that we don't have permission settings issues due to version skew across sites. --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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]); } } -- cgit v1.2.3