From f15d3de96c9a67faa3a88a73f7b9db2d0053924f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Apr 2012 09:15:35 +0200 Subject: [PATCH] Bug 5347: Followup: FIX 2 bugs in lateorders 1/ Failed to claim late orders (Can't use string as a HASH ref) 2/ Don't show the red error message after submit the form for claims Signed-off-by: Katrin Fischer 1/ Fixed. 2/ Also fixed. Signed-off-by: Paul Poulain --- acqui/lateorders.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index 031fc88443..35ebec1d86 100755 --- a/acqui/lateorders.pl +++ b/acqui/lateorders.pl @@ -72,7 +72,7 @@ my $branch = $input->param('branch'); my $op = $input->param('op'); my @errors = (); -if ( defined $delay and not $delay =~ /^\d{1,3}$/ ) { +if ( $delay and not $delay =~ /^\d{1,3}$/ ) { push @errors, {delay_digits => 1, bad_delay => $delay}; } -- 2.39.5