summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-06-25 10:22:16 +0000
committerivan <ivan>2003-06-25 10:22:16 +0000
commit0a9ebb972089dd6fd848033e0d91a8948526d5ee (patch)
tree2f9e233f6a52730da8e586b73fbd92c603aebd2f
parentb8956e0f375e56b05677d4ef4889edab3e01614b (diff)
Pg 7.3 incompatibility with empty dates in Failed Invoice Event search,
patch from rlucas@tercent.net
-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;