From: Sven Schöling Date: Fri, 31 Aug 2012 10:23:36 +0000 (+0200) Subject: typos X-Git-Tag: release-3.0.0beta1~214 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fdd40c9da7197fd5a242bcbdee4e1c23b6aebec4;p=kivitendo-erp.git typos --- diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl index f6066e740..75f2bc44e 100644 --- a/bin/mozilla/menu.pl +++ b/bin/mozilla/menu.pl @@ -116,15 +116,15 @@ sub section_menu { $menuitem->{module} ||= $::form->{script}; $menuitem->{action} ||= "section_menu"; $menuitem->{target} ||= "main_window"; - $menuitem->{href} ||= "$item->{module}?action=$item->{action}"; + $menuitem->{href} ||= "$menuitem->{module}?action=$menuitem->{action}"; # add other params - foreach my $key (keys %$item) { + foreach my $key (keys %$menuitem) { next if $key =~ /target|module|action|href/; $menuitem->{href} .= "&" . $::form->escape($key, 1) . "="; - my ($value, $conf) = split(/=/, $item->{$key}, 2); + my ($value, $conf) = split(/=/, $menuitem->{$key}, 2); $value = $::myconfig{$value} . "/$conf" if ($conf); - $item->{href} .= $::form->escape($value, 1); + $menuitem->{href} .= $::form->escape($value, 1); } my $anchor = $menuitem->{href};