diff options
author | Mario <mario@mariovavti.com> | 2023-06-21 09:20:25 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-21 09:20:25 +0000 |
commit | 6a560cfec4628ac5c727578c1360f84c569ee6b7 (patch) | |
tree | 200e30c5e261fe2d7f5941250569d853759ed49d /Zotlabs/Lib | |
parent | 489ba72d5c447a89ad5c5b8c212dd8e049879a7f (diff) | |
download | volse-hubzilla-6a560cfec4628ac5c727578c1360f84c569ee6b7.tar.gz volse-hubzilla-6a560cfec4628ac5c727578c1360f84c569ee6b7.tar.bz2 volse-hubzilla-6a560cfec4628ac5c727578c1360f84c569ee6b7.zip |
always check pageflags otherwise site specific flags will be overwritten when a sync package arrives from a clone that has no flags for this channel - fix issue #1769
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Libsync.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php index 0d383c697..5f183192d 100644 --- a/Zotlabs/Lib/Libsync.php +++ b/Zotlabs/Lib/Libsync.php @@ -328,7 +328,7 @@ class Libsync { $remote_channel = $arr['channel']; $remote_channel['channel_id'] = $channel['channel_id']; - if (array_key_exists('channel_pageflags', $arr['channel']) && intval($arr['channel']['channel_pageflags'])) { + if (array_key_exists('channel_pageflags', $arr['channel'])) { // Several pageflags are site-specific and cannot be sync'd. // Only allow those bits which are shareable from the remote and then |