projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
this would seem to be right, but...?
[freeside.git]
/
FS
/
FS
/
cust_pkg.pm
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
c671163
..
dd6db1b
100644
(file)
--- 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 : '';
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 ) ";
$ornull = $ornull ? ' OR ? IS NULL ' : '';
my $or_empty_county = " OR ( ? = '' AND $table.${prefix}county IS NULL ) ";