summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2008-08-29 00:45:31 +0000
committerjeff <jeff>2008-08-29 00:45:31 +0000
commitd7b220cb7443a6d55723e4b5b9d483504efe9250 (patch)
tree5602cb927a501dc697e9f4bae6c0b55b7f71ad0c
parent5703b343f5a7184814e8e545e123c1544af2c521 (diff)
noise reduction
-rw-r--r--FS/FS/part_pkg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm
index 3eb3bc139..0591af487 100644
--- a/FS/FS/part_pkg.pm
+++ b/FS/FS/part_pkg.pm
@@ -929,6 +929,7 @@ sub _expand_cch_taxproductnum {
? ( split ':', $part_pkg_taxproduct->taxproduct )
: ()
);
+ $a = '' unless $a; $b = '' unless $b; $c = '' unless $c; $d = '' unless $d;
my $extra_sql = "AND ( taxproduct = '$a:$b:$c:$d'
OR taxproduct = '$a:$b:$c:'
OR taxproduct = '$a:$b:".":$d'