[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1442] branches/1.2/LedgerSMB/Form.pm



Revision: 1442
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1442&view=rev
Author:   tetragon
Date:     2007-07-26 13:27:16 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
Fix typo that stopped non-default currency order->invoice conversion to fail

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-07-26 02:53:49 UTC (rev 1441)
+++ branches/1.2/LedgerSMB/Form.pm	2007-07-26 20:27:16 UTC (rev 1442)
@@ -1788,7 +1788,7 @@
 		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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.