diff options
author | Mario <mario@mariovavti.com> | 2021-10-22 07:27:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-22 07:27:37 +0000 |
commit | 69ba4eb0558938845fdc96957850672940965e11 (patch) | |
tree | 51d8271ab3f4dd3ae85f5e6698c081b5b8ad9a74 /Zotlabs/Module | |
parent | 687b9fb6a20fd1b1a5ac48656d06e9540cba5534 (diff) | |
download | volse-hubzilla-69ba4eb0558938845fdc96957850672940965e11.tar.gz volse-hubzilla-69ba4eb0558938845fdc96957850672940965e11.tar.bz2 volse-hubzilla-69ba4eb0558938845fdc96957850672940965e11.zip |
whitespace
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Import_items.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Import_items.php b/Zotlabs/Module/Import_items.php index 38be09b29..1a1e8d061 100644 --- a/Zotlabs/Module/Import_items.php +++ b/Zotlabs/Module/Import_items.php @@ -141,8 +141,9 @@ class Import_items extends Controller { //logger('import: data: ' . print_r($data,true)); //print_r($data); - if (!is_array($data)) + if (!is_array($data)) { return; + } //if (array_key_exists('compatibility', $data) && array_key_exists('database', $data['compatibility'])) { //$v1 = substr($data['compatibility']['database'], -4); @@ -173,7 +174,6 @@ class Import_items extends Controller { if (array_key_exists('event_item', $data) && is_array($data['event_item'])) { import_items($channel, $data['event_item'], false, ((array_key_exists('relocate', $data)) ? $data['relocate'] : null)); info(t('Channel calendar import 2/2 completed') . EOL); - } if (array_key_exists('menu', $data) && is_array($data['menu'])) { @@ -184,7 +184,6 @@ class Import_items extends Controller { if (array_key_exists('wiki', $data) && is_array($data['wiki'])) { import_items($channel, $data['wiki'], false, ((array_key_exists('relocate', $data)) ? $data['relocate'] : null)); info(t('Wiki import completed') . EOL); - } if (array_key_exists('webpages', $data) && is_array($data['webpages'])) { |