From da6a7abf38c90ade772a9179e8f629f3bd1e42bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 29 May 2009 10:01:18 +0000 Subject: [PATCH] =?utf8?q?Fix=20f=C3=BCr=20eini=20potentielles=20Randprobl?= =?utf8?q?em=20in=20OE=20Masken,=20wenn=20sehr=20wenige=20Kunden=20im=20Sy?= =?utf8?q?stem=20sind,=20und=20vclimit=20auf=20sehr=20kleine=20Werte=20ges?= =?utf8?q?etzt=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index c8cdcebd3..b3a65680f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -237,7 +237,10 @@ sub order_links { } $form->{"old$form->{vc}"} = $form->{$form->{vc}}; - $form->{"old$form->{vc}"} .= qq|--$form->{"$form->{vc}_id"}| unless ($form->{"old$form->{vc}"} =~ m/--\d+$/); + + if ($form->{"old$form->{vc}"} !~ m/--\d+$/ && $form->{"$form->{vc_}id}"}) { + $form->{"old$form->{vc}"} .= qq|--$form->{"$form->{vc}_id"}| + } $lxdebug->leave_sub(); } -- 2.20.1