diff options
author | jeff <jeff> | 2010-07-08 03:25:19 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-07-08 03:25:19 +0000 |
commit | bf919822f4eaca11744354faf7769cbda55f33bb (patch) | |
tree | 346175a2615b8f04f2141a5621c9c877650dbdcb | |
parent | 3b08e7bf9daee63b1ef9e3d694ea909cad7863fb (diff) |
grr - fix agentnum passing
-rw-r--r-- | FS/FS/tax_rate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 04780daca..e2e2e8b22 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -1773,7 +1773,7 @@ sub queue_liability_report { $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, |