From 0b2cc4564a09c69f9e2a590e590db760aab91a2e Mon Sep 17 00:00:00 2001 From: Sherakama Date: Mon, 25 Apr 2016 12:22:14 -0700 Subject: [PATCH] PHP Error on line 524 Fixes php error. --- template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.php b/template.php index 81136b5..4b3fb5f 100644 --- a/template.php +++ b/template.php @@ -521,7 +521,7 @@ function open_framework_is_in_nav_menu($element) { } // For menu blocks. - if (!empty($bid) && $static_menu_cache[$bid]) { + if (!empty($bid) && isset($static_menu_cache[$bid])) { return $static_menu_cache[$bid]; }