summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pkg.pm
diff options
context:
space:
mode:
authorivan <ivan>2009-02-22 10:34:26 +0000
committerivan <ivan>2009-02-22 10:34:26 +0000
commiteedf55aee4f0c0263b1924ee07a2182a1be46991 (patch)
tree265777eac424968d643ed1c0cf1dd5d314891d40 /FS/FS/cust_pkg.pm
parent52b311cb03ee6714c2ea8d108efdfef86c2c3e1d (diff)
this would seem to be right, but...?
Diffstat (limited to 'FS/FS/cust_pkg.pm')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index c671163..dd6db1b 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 ) ";