Opps ...
authorRoland Häder <roland@mxchange.org>
Sat, 27 Aug 2011 05:06:53 +0000 (05:06 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 27 Aug 2011 05:06:53 +0000 (05:06 +0000)
inc/template-functions.php

index 21eac438e2496db3fa5a6ba70ed8aaa0c708b5f5..344e0c43789576d4b54297520311a41392e4cd6c 100644 (file)
@@ -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