From 7214b6048bf78b970d3e7c6a8e628f4405831a4a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 12 Aug 2008 12:06:15 +0000 Subject: [PATCH] =?utf8?q?JavaScript-Men=C3=BC:=20Der=20Schl=C3=BCssel=20'?= =?utf8?q?action'=20soll=20nicht=20als=20Parameter=20in=20den=20Link=20auf?= =?utf8?q?genommen=20werden,=20nicht=20der=20Schl=C3=BCssel,=20der=20durch?= =?utf8?q?=20den=20Schl=C3=BCssel=20'action'=20bestimmt=20wird.=20Dadurch?= =?utf8?q?=20wurde=20z.B.=20kein=20'report=3D...'=20an=20die=20URL=20angeh?= =?utf8?q?=C3=A4ngt,=20wenn=20'action=3Dreport'=20in=20der=20menu.ini=20st?= =?utf8?q?and.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Menu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Menu.pm b/SL/Menu.pm index 8ded1dde8..60d78dd27 100644 --- a/SL/Menu.pm +++ b/SL/Menu.pm @@ -121,7 +121,7 @@ sub menuitem_new { $item->{href} = $self->{$name}->{href} || "${module}?action=" . $form->escape($action); my @vars = qw(module target href); - push @vars, $action unless ($self->{$name}->{href}); + push @vars, 'action' unless ($self->{$name}->{href}); map { delete $self->{$name}{$_} } @vars; -- 2.20.1