From 5c185f29b289c916315038b8baa185b24f4f17e8 Mon Sep 17 00:00:00 2001 From: tetragon Date: Mon, 30 Oct 2006 20:21:43 +0000 Subject: Allow tax accno to be non-int to match db git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@394 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Tax.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/Tax.pm b/LedgerSMB/Tax.pm index 4c7bd121..6d4c7956 100755 --- a/LedgerSMB/Tax.pm +++ b/LedgerSMB/Tax.pm @@ -41,7 +41,7 @@ sub init_taxes { 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'}; -- cgit v1.2.3