From af2638ab5be5f22528243f5882ed2200c7f12d8e Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 26 Jul 2007 20:27:16 +0000 Subject: 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 --- LedgerSMB/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3