From c40ec3d0946b4f14bac8a86a23900d0079222543 Mon Sep 17 00:00:00 2001 From: Emrys Date: Tue, 19 Mar 2019 08:32:33 +0000 Subject: [PATCH] corrected incorrect line in examples module --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ddd7cbd3d..a3160aee8 100644 --- a/index.php +++ b/index.php @@ -298,7 +298,7 @@ if ($embed == 1) { print view($themeDir . "embed.php", $output); } else { - $menu = load_menu(); + $menu = function_exists('load_menu') ? load_menu(): array(); $output['mainmenu'] = view($themeDir . "menu_view.php", array()); print view($themeDir . "theme.php", $output); }