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

SF.net SVN: ledger-smb: [714] trunk/LedgerSMB/AA.pm



Revision: 714
          http://svn.sourceforge.net/ledger-smb/?rev=714&view=rev
Author:   tetragon
Date:     2006-12-04 13:13:01 -0800 (Mon, 04 Dec 2006)

Log Message:
-----------
Fix for db error in 1607680

Modified Paths:
--------------
    trunk/LedgerSMB/AA.pm

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2006-12-04 21:12:19 UTC (rev 713)
+++ trunk/LedgerSMB/AA.pm	2006-12-04 21:13:01 UTC (rev 714)
@@ -326,10 +326,10 @@
 				            fx_transaction, cleared)
 				    VALUES  (?, (SELECT id FROM chart
 				                  WHERE accno = ?), 
-				            ? * ?, ?, ?, ?, ?, ?)|;
+				            ?, ?, ?, ?, ?, ?)|;
 
 			@queryargs = ($form->{id}, $ref->{accno}, 
-				$ref->{amount}, $ml, $form->{transdate}, 
+				$ref->{amount} * $ml, $form->{transdate}, 
 				$ref->{project_id}, $ref->{description}, 
 				$ref->{fx_transaction}, $ref->{cleared});
 			$dbh->prepare($query)->execute(@queryargs) 


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