From fdd40c9da7197fd5a242bcbdee4e1c23b6aebec4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 31 Aug 2012 12:23:36 +0200 Subject: [PATCH] typos --- bin/mozilla/menu.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}; -- 2.20.1