[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [438] trunk/LedgerSMB/Form.pm



Revision: 438
          http://svn.sourceforge.net/ledger-smb/?rev=438&view=rev
Author:   tetragon
Date:     2006-10-31 16:21:17 -0800 (Tue, 31 Oct 2006)

Log Message:
-----------
Fix paramater order in all_taxaccounts

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-11-01 00:11:37 UTC (rev 437)
+++ trunk/LedgerSMB/Form.pm	2006-11-01 00:21:17 UTC (rev 438)
@@ -1859,7 +1859,7 @@
 		$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;
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.