From 2115ecce62b334c6eb541a9e5f05615b9283c70a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Wed, 25 May 2011 23:47:01 +0000 Subject: [PATCH] Removed warning --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 72f9e4646c8..55ae5fef891 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1145,7 +1145,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a </script>'; } - if ($conf->global->MAIN_MENU_USE_JQUERY_ACCORDION) + if (! empty($conf->global->MAIN_MENU_USE_JQUERY_ACCORDION)) { print "\n".'<script type="text/javascript"> jQuery(document).ready(function () { -- GitLab