aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-27 18:00:37 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-27 18:00:37 -0700
commit67fe8fc4a7aa229857249caeaeb7d746d92ba325 (patch)
tree946e6736ddd16f81dc77f0d43fe498b6ad473919
parent3a2c3ea8fa27024e483e43dabb22be81c173ae10 (diff)
downloadvolse-hubzilla-67fe8fc4a7aa229857249caeaeb7d746d92ba325.tar.gz
volse-hubzilla-67fe8fc4a7aa229857249caeaeb7d746d92ba325.tar.bz2
volse-hubzilla-67fe8fc4a7aa229857249caeaeb7d746d92ba325.zip
well there's one problem...
-rw-r--r--include/zot.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/zot.php b/include/zot.php
index c94e9ca6d..6769241cb 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2963,10 +2963,10 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
// These flags cannot be sync'd.
// If these bits aren't set locally, remove the bits from the incoming flags.
- if((! ($channel['channel_pageflags'] & PAGE_REMOVED)) && ($arr['channel_pageflags'] & PAGE_REMOVED))
- $arr['channel_pageflags'] = $arr['channel_pageflags'] - PAGE_REMOVED;
- if((! ($channel['channel_pageflags'] & PAGE_SYSTEM)) && ($arr['channel_pageflags'] & PAGE_SYSTEM))
- $arr['channel_pageflags'] = $arr['channel_pageflags'] - PAGE_SYSTEM;
+ if((! ($channel['channel_pageflags'] & PAGE_REMOVED)) && ($arr['channel']['channel_pageflags'] & PAGE_REMOVED))
+ $arr['channel']['channel_pageflags'] = $arr['channel']['channel_pageflags'] - PAGE_REMOVED;
+ if((! ($channel['channel_pageflags'] & PAGE_SYSTEM)) && ($arr['channel']['channel_pageflags'] & PAGE_SYSTEM))
+ $arr['channel']['channel_pageflags'] = $arr['channel']['channel_pageflags'] - PAGE_SYSTEM;
$disallowed = array('channel_id','channel_account_id','channel_primary','channel_prvkey', 'channel_address', 'channel_notifyflags', 'channel_removed', 'channel_system', 'channel_deleted' );