summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;