summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-12-22 15:30:56 -0800
committerIvan Kohler <ivan@freeside.biz>2016-12-22 15:30:56 -0800
commit399013698f9ba6ff2c9861a839f424da9609825e (patch)
tree69b3b1340b39062b2eacf484ee926f9630108f0e /httemplate/search/cust_pkg.cgi
parent36b5fc9c511af4fdf1f09530129352b3d7f2685e (diff)
package search on null dates, RT#73715
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index dbd346dba..df1d7e589 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -203,6 +203,8 @@ my %disable = (
foreach my $field (qw( setup last_bill bill adjourn susp expire contract_end change_date cancel active )) {
+ $search_hash{$field.'_null'} = scalar( $cgi->param($field.'_null') );
+
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field);
next if $beginning == 0 && $ending == 4294967295