Bug 7298: (follow-up) fix uninitialized variable warning
authorGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 15:46:42 +0000 (15:46 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 15:52:47 +0000 (15:52 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/lateorders.pl

index 360674c..1a64a4c 100755 (executable)
@@ -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');