summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2003-06-25 10:22:22 +0000
committerivan <ivan>2003-06-25 10:22:22 +0000
commitdf4dc0977e94c79650236619593a9fc88d2037aa (patch)
tree30bd0a3f10164f48d8fb243793d25965fc120b17 /httemplate
parent6ea99c2561e6c87310194097e88ddf1cf089c868 (diff)
Pg 7.3 incompatibility with empty dates in Failed Invoice Event search,
patch from rlucas@tercent.net
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_bill_event.cgi2
1 files changed, 1 insertions, 1 deletions
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;