X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=acqui%2Flateorders.pl;h=35ebec1d863c2dc200f6396e93c69f0376b7edbb;hb=HEAD;hp=031fc88443a2c6afb01ea0e7fd2aaa82b265e851;hpb=1ee7f449be2ba45c2458d2ac571172ecf58752b2;p=koha_gimpoz 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}; }