[freeside-commits] freeside/FS/FS tax_rate.pm,1.29.2.12,1.29.2.13
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Jul 7 20:25:22 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14678
Modified Files:
Tag: FREESIDE_1_9_BRANCH
tax_rate.pm
Log Message:
grr - fix agentnum passing
Index: tax_rate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/tax_rate.pm,v
retrieving revision 1.29.2.12
retrieving revision 1.29.2.13
diff -u -w -d -r1.29.2.12 -r1.29.2.13
--- tax_rate.pm 1 Jun 2010 19:58:04 -0000 1.29.2.12
+++ tax_rate.pm 8 Jul 2010 03:25:19 -0000 1.29.2.13
@@ -1773,7 +1773,7 @@
$cgi->param('ending', $param->{ending});
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
my $agentnum = $param->{agentnum};
- $agentnum =~ /^(\d+)$/ ? $agentnum = $1 : $agentnum = '';
+ if ($agentnum =~ /^(\d+)$/) { $agentnum = $1; } else { $agentnum = ''; };
generate_liability_report(
'beginning' => $beginning,
'ending' => $ending,
More information about the freeside-commits
mailing list