X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/075bd42af8885aee3c18fe055a2c82b8b43f4cea..e831bee6035c4f9e73efe7a30e1ebb56dd4a054c:/SL/Layout/Css.pm
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|