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 <Katrin.Fischer.83@web.de>
1/ Fixed.
2/ Also fixed.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Jonathan Druart 2012-04-13 09:15:35 +02:00 committed by Paul Poulain
parent 1ee7f449be
commit f15d3de96c
1 changed files with 1 additions and 1 deletions

View File

@ -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};
}