projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b311c
)
this would seem to be right, but...?
author
ivan
<ivan>
Sun, 22 Feb 2009 10:34:26 +0000
(10:34 +0000)
committer
ivan
<ivan>
Sun, 22 Feb 2009 10:34:26 +0000
(10:34 +0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
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 : '';
+# $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 ) ";