From 69ff27ee9f54215f1c6e7e9ff983e842516f68e3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 19 Nov 2012 09:51:44 +0100 Subject: [PATCH] =?utf8?q?CSS-Men=C3=BCs:=20Anzeige=20von=20href-Men=C3=BC?= =?utf8?q?eintr=C3=A4gen=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Behebt #2061. --- SL/Layout/Css.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Layout/Css.pm b/SL/Layout/Css.pm index 883353a20..dc0bf057f 100644 --- a/SL/Layout/Css.pm +++ b/SL/Layout/Css.pm @@ -51,7 +51,7 @@ sub print_menu { my $menu_title = $::locale->text($item); my $menu_text = $menu_title; - if ($menu_item->{"submenu"} || !defined($menu_item->{"module"})) { + if ($menu_item->{"submenu"} || !defined($menu_item->{"module"}) && !defined($menu_item->{href})) { my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n"; if (!$parent) { @@ -96,7 +96,7 @@ sub menuitem_v3 { my @vars = qw(module action target href); if ($menuitem->{href}) { - $str = qq|{href}|; + $str = qq|