From: ivan Date: Sun, 22 Feb 2009 10:34:26 +0000 (+0000) Subject: this would seem to be right, but...? X-Git-Tag: root_of_webpay_support~29 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=eedf55aee4f0c0263b1924ee07a2182a1be46991 this would seem to be right, but...? --- 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 ) ";