From df4dc0977e94c79650236619593a9fc88d2037aa Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 25 Jun 2003 10:22:22 +0000 Subject: [PATCH] Pg 7.3 incompatibility with empty dates in Failed Invoice Event search, patch from rlucas@tercent.net --- httemplate/search/cust_bill_event.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/search/cust_bill_event.cgi b/httemplate/search/cust_bill_event.cgi index 9cb36d28e..b76f66b76 100644 --- a/httemplate/search/cust_bill_event.cgi +++ b/httemplate/search/cust_bill_event.cgi @@ -4,7 +4,7 @@ #false laziness with view/cust_bill.cgi $cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/; -my $beginning = str2time($1); +my $beginning = str2time($1) || 0; $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/; my $ending = str2time($1) + 86400; -- 2.11.0