summaryrefslogtreecommitdiff
path: root/LedgerSMB/Tax.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 20:21:43 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 20:21:43 +0000
commit5c185f29b289c916315038b8baa185b24f4f17e8 (patch)
tree9ffdb5271d598f2fbeb716c9e9dd56ceafb207e5 /LedgerSMB/Tax.pm
parentc00a00dfb36360efd2dd46024c0b6566958b2000 (diff)
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
Diffstat (limited to 'LedgerSMB/Tax.pm')
-rwxr-xr-xLedgerSMB/Tax.pm2
1 files changed, 1 insertions, 1 deletions
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'};