aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-11 18:32:34 -0700
committerzotlabs <mike@macgirvin.com>2017-05-11 18:34:28 -0700
commit4f577cbdebea44dfedece4eeddb99138d5f02f65 (patch)
tree988d06da0a40aed3c0c9e499531e7c3be3119164
parent84064b90a6ea1d968da76749a9816363462f3831 (diff)
downloadvolse-hubzilla-4f577cbdebea44dfedece4eeddb99138d5f02f65.tar.gz
volse-hubzilla-4f577cbdebea44dfedece4eeddb99138d5f02f65.tar.bz2
volse-hubzilla-4f577cbdebea44dfedece4eeddb99138d5f02f65.zip
issue #769
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index a168dff1b..748fe7b99 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3160,8 +3160,8 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
if(array_key_exists('menu',$arr) && $arr['menu'])
sync_menus($channel,$arr['menu']);
- if(array_key_exists('menu',$arr) && $arr['menu'])
- sync_menus($channel,$arr['menu']);
+ if(array_key_exists('file',$arr) && $arr['file'])
+ sync_files($channel,$arr['file']);
if(array_key_exists('wiki',$arr) && $arr['wiki'])
sync_items($channel,$arr['wiki'],((array_key_exists('relocate',$arr)) ? $arr['relocate'] : null));