From 9706908b269ebc068b19a0989ca8af6804b1a540 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 31 Oct 2013 15:46:42 +0000 Subject: [PATCH] Bug 7298: (follow-up) fix uninitialized variable warning Signed-off-by: Galen Charlton --- acqui/lateorders.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index 360674c335..1a64a4cb72 100755 --- a/acqui/lateorders.pl +++ b/acqui/lateorders.pl @@ -66,7 +66,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ }); my $booksellerid = $input->param('booksellerid') || undef; # we don't want "" or 0 -my $delay = $input->param('delay'); +my $delay = $input->param('delay') // 0; # Get the "date from" param if !defined is today my $estimateddeliverydatefrom = $input->param('estimateddeliverydatefrom'); -- 2.39.5