From: jeff Date: Mon, 22 Mar 2010 14:08:40 +0000 (+0000) Subject: fix restore of setup and recur taxproducts on tax data replacement X-Git-Tag: root_of_svc_elec_features~376 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=fda2d68af09054acae505973e6a42804112924fe fix restore of setup and recur taxproducts on tax data replacement --- diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 9bcd697ea..463fc0876 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -1263,7 +1263,7 @@ sub _remember_tax_products { if $part_pkg_taxproduct && $part_pkg_taxproduct->data_vendor eq $format; foreach my $option ( $part_pkg->part_pkg_option ) { - next unless $option->optionname =~ /^usage_taxproductnum_(\w)$/; + next unless $option->optionname =~ /^usage_taxproductnum_(\w+)$/; my $class = $1; $part_pkg_taxproduct = $part_pkg->taxproduct($class);