summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 23733bbf..8a7f5571 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1859,7 +1859,7 @@ sub all_taxaccounts {
$sth = $dbh->prepare($query) || $self->dberror($query);
foreach my $accno (split / /, $self->{taxaccounts}) {
- $sth->execute(@queryargs, $accno);
+ $sth->execute($accno, @queryargs);
($self->{"${accno}_rate"}, $self->{"${accno}_taxnumber"}) = $sth->fetchrow_array;
$sth->finish;
}