X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pkg.pm;h=dd6db1be9e557f186586b8b1e85630e43a460fa9;hb=eedf55aee4f0c0263b1924ee07a2182a1be46991;hp=c67116373d0f657eac137f7a1a43607b623bea10;hpb=36984eccc9e24eda75a128cebd7e507556b3b487;p=freeside.git diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index c67116373..dd6db1be9 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2424,6 +2424,8 @@ sub _location_sql_where { my $prefix = @_ ? shift : ''; my $ornull = @_ ? shift : ''; +# $ornull = $ornull ? " OR ( ? IS NULL AND $table.${prefix}county IS NULL ) " : ''; + $ornull = $ornull ? ' OR ? IS NULL ' : ''; my $or_empty_county = " OR ( ? = '' AND $table.${prefix}county IS NULL ) ";