From 36b388ab8cb8435dc621b5c589e9f6555593568f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 18:53:05 -0700 Subject: issue #336 --- include/import.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/import.php') 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) { } } } + + } -- cgit v1.2.3