summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-26 20:27:16 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-26 20:27:16 +0000
commitaf2638ab5be5f22528243f5882ed2200c7f12d8e (patch)
tree551cf363b63f4db2803ef097e35e69baac5accf6 /LedgerSMB
parent615544f357d5d76c9a40188548d8aeff78523a2c (diff)
Fix typo that stopped non-default currency order->invoice conversion to fail
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1442 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 6c92d366..61157aa7 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1788,7 +1788,7 @@ sub check_exchangerate {
WHERE curr = ? AND transdate = ?|;
my $sth = $self->{dbh}->prepare($query);
- $sth->execute( $currenct, $transdate );
+ $sth->execute( $currency, $transdate );
my ($exchangerate) = $sth->fetchrow_array;
$sth->finish;