diff options
author | zottel <github@zottel.net> | 2015-09-09 09:53:51 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-09-09 09:53:51 +0200 |
commit | 2417396a93fd14eae56dc8d463b2af14208564d6 (patch) | |
tree | a698e3b4ce0721b5824d141868316ce81d6572a9 /include/zot.php | |
parent | 52cd8652bb4b2454bc2bd49d8ec39a5549c4ab68 (diff) | |
parent | 0a051ff2cd13eb33ecffc3c4e34a1a56a3fcf29a (diff) | |
download | volse-hubzilla-2417396a93fd14eae56dc8d463b2af14208564d6.tar.gz volse-hubzilla-2417396a93fd14eae56dc8d463b2af14208564d6.tar.bz2 volse-hubzilla-2417396a93fd14eae56dc8d463b2af14208564d6.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index 285668209..9fac4d40e 100644 --- a/include/zot.php +++ b/include/zot.php @@ -2896,6 +2896,9 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { if(array_key_exists('item_id',$arr) && $arr['item_id']) sync_items($channel,$arr['item_id']); + if(array_key_exists('menu',$arr) && $arr['menu']) + sync_menus($channel,$arr['menu']); + if(array_key_exists('channel',$arr) && is_array($arr['channel']) && count($arr['channel'])) { if(array_key_exists('channel_page_flags',$arr['channel']) && intval($arr['channel']['channel_pageflags'])) { $arr['channel']['channel_removed'] = (($arr['channel']['channel_pageflags'] & 0x8000) ? 1 : 0); |