summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-01 00:21:17 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-01 00:21:17 +0000
commitb5a85d84eb7e384442002e0de2d2e8fec9ba68b8 (patch)
treedd76474eec4c8bfe767849f4db949409ef1361e8
parent60f6c98e4f4a2084bd98d15844f0282436377760 (diff)
Fix paramater order in all_taxaccounts
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@438 4979c152-3d1c-0410-bac9-87ea11338e46
-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;
}