From: Roland Häder Date: Sat, 27 Aug 2011 05:08:13 +0000 (+0000) Subject: Same thing fixed, but without the opps ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eeedebbc55061db9bee5cf41f5d7506173b97f8b;p=mailer.git Same thing fixed, but without the opps ... --- diff --git a/inc/template-functions.php b/inc/template-functions.php index 344e0c4378..c301e9fd40 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -1864,7 +1864,7 @@ function generateTimeUnitSelectionBox ($defaultUnit, $fieldName, $unitArray) { // Function to add style tag (wether display:none/block) function addStyleMenuContent ($menuMode, $mainAction, $action) { // Do we have foo_menu_javascript enabled? - if (getConfig($menuMode . '_menu_javascript') == 'N') { + if ((!isConfigEntrySet($menuMode . '_menu_javascript')) || (getConfig($menuMode . '_menu_javascript') == 'N')) { // Silently abort here, not enabled return ''; } // END - if