Bug dans la classe de menu

This commit is contained in:
Alan Garcia 2013-02-21 12:33:53 +00:00
parent 29dac33896
commit 9103f677fd
1 changed files with 6 additions and 1 deletions

View File

@ -59,7 +59,12 @@ class m_menu {
$mop = $mem->session_tempo_params_get('menu_toggle') ;
foreach( $lst as $k => $v ) {
if (empty($v)) {
unset($lst[$k]);
continue;
}
// Set the javascript toggle link for menu asking for it
if ($v['link'] == 'toggle') {
$lst[$k]['link'] = 'javascript:menu_toggle(\'menu-'.$k.'\');';