diff options
author | redmatrix <git@macgirvin.com> | 2016-03-31 18:53:05 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-31 18:53:05 -0700 |
commit | 36b388ab8cb8435dc621b5c589e9f6555593568f (patch) | |
tree | e7794974bb516abe941ebcd4be76900dd27fc490 /include/import.php | |
parent | c0b3d7e1b480ceeed89b71efd056ed9edda2dfef (diff) | |
download | volse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.tar.gz volse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.tar.bz2 volse-hubzilla-36b388ab8cb8435dc621b5c589e9f6555593568f.zip |
issue #336
Diffstat (limited to 'include/import.php')
-rw-r--r-- | include/import.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/import.php b/include/import.php index b7ec1c565..9a57012b2 100644 --- a/include/import.php +++ b/include/import.php @@ -636,6 +636,7 @@ function sync_events($channel,$events) { function import_menus($channel,$menus) { + if($channel && $menus) { foreach($menus as $menu) { $m = array(); @@ -681,6 +682,8 @@ function import_menus($channel,$menus) { } } } + + } |