From 647822147615bad8572ad4282c9c3958fe983f5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 27 Aug 2011 05:06:53 +0000 Subject: [PATCH] Opps ... --- inc/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template-functions.php b/inc/template-functions.php index 21eac438e2..344e0c4378 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -1881,7 +1881,7 @@ function addStyleMenuContent ($menuMode, $mainAction, $action) { // Function to add onclick attribute function addJavaScriptMenuContent ($menuMode, $mainAction, $action, $what) { // Do we have foo_menu_javascript enabled? - if ((!isConfigEntrySet($menuMode . '_menu_javascript') || (getConfig($menuMode . '_menu_javascript') == 'N')) { + if ((!isConfigEntrySet($menuMode . '_menu_javascript')) || (getConfig($menuMode . '_menu_javascript') == 'N')) { // Silently abort here, not enabled return ''; } // END - if -- 2.39.5