X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FMenuLeft.pm;h=f2e8a053fa197c6fde30c3da5dca5784fe8a9a2b;hb=13a0130f65f76d9a9befc88bd6de55bf02c1c795;hp=34dc2d9ca30b1b5ae7a401e829ec0122cf43975a;hpb=343d80b67b9683cd8a585e85d95f99d1163ce146;p=kivitendo-erp.git diff --git a/SL/Layout/MenuLeft.pm b/SL/Layout/MenuLeft.pm index 34dc2d9ca..f2e8a053f 100644 --- a/SL/Layout/MenuLeft.pm +++ b/SL/Layout/MenuLeft.pm @@ -51,7 +51,7 @@ sub section_menu { my $menuitem = $menu->{$item}; my $olabel = apply { s/.*--// } $item; my $ml = apply { s/--.*// } $item; - my $icon_class = apply { $_ =lc $_; s/[^a-z]/-/g } $item; + my $icon_class = apply { $_ =lc $_; s/[^a-z0-9_-]/-/g } $item; my $spacer = "s" . (0 + $item =~ s/--/--/g); next if $level && $item ne "$level--$olabel";