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

SF.net SVN: ledger-smb: [394] trunk/LedgerSMB/Tax.pm



Revision: 394
          http://svn.sourceforge.net/ledger-smb/?rev=394&view=rev
Author:   tetragon
Date:     2006-10-30 12:21:43 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Allow tax accno to be non-int to match db

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

Modified: trunk/LedgerSMB/Tax.pm
===================================================================
--- trunk/LedgerSMB/Tax.pm	2006-10-30 20:15:31 UTC (rev 393)
+++ trunk/LedgerSMB/Tax.pm	2006-10-30 20:21:43 UTC (rev 394)
@@ -41,7 +41,7 @@
 			WHERE c.accno = ?|;
 	my $sth = $dbh->prepare($query);
 	foreach $taxaccount (@accounts) {
-		$sth->execute(int($taxaccount)) || $form->dberror($query);
+		$sth->execute($taxaccount) || $form->dberror($query);
 		my $ref = $sth->fetchrow_hashref;
 
 		my $module = $ref->{'taxmodulename'};


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