From eedf55aee4f0c0263b1924ee07a2182a1be46991 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 22 Feb 2009 10:34:26 +0000 Subject: [PATCH] this would seem to be right, but...? --- FS/FS/cust_pkg.pm | 2 ++ 1 file changed, 2 insertions(+) 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 ) "; -- 2.11.0