From b5a85d84eb7e384442002e0de2d2e8fec9ba68b8 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 1 Nov 2006 00:21:17 +0000 Subject: 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 --- LedgerSMB/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3