From: jeff Date: Mon, 22 Mar 2010 14:08:57 +0000 (+0000) Subject: fix restore of setup and recur taxproducts on tax data replacement X-Git-Tag: freeside_1_9_3~58 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=4a4a31ca7dcb01990a7e1d0e40a2f89adf34a25a;p=freeside.git 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 45f3f5814..10e19487f 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);