[freeside-commits] freeside/FS/FS tax_rate.pm,1.41,1.42
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Jul 7 18:15:31 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv8547
Modified Files:
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.41
retrieving revision 1.42
diff -u -w -d -r1.41 -r1.42
--- tax_rate.pm 1 Jun 2010 19:58:27 -0000 1.41
+++ tax_rate.pm 8 Jul 2010 01:15:29 -0000 1.42
@@ -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