From febf744224b0f2f3e466a097a3b542abc534d463 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Apr 2012 09:15:35 +0200 Subject: [PATCH] [SIGNED-OFF] 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. --- acqui/lateorders.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index 031fc88..35ebec1 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}; } -- 1.7.5.4