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

SF.net SVN: ledger-smb: [971] branches/1.2/LedgerSMB/CP.pm



Revision: 971
          http://svn.sourceforge.net/ledger-smb/?rev=971&view=rev
Author:   einhverfr
Date:     2007-03-20 23:27:01 -0700 (Tue, 20 Mar 2007)

Log Message:
-----------
closing bug 1684867

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

Modified: branches/1.2/LedgerSMB/CP.pm
===================================================================
--- branches/1.2/LedgerSMB/CP.pm	2007-03-21 02:23:24 UTC (rev 970)
+++ branches/1.2/LedgerSMB/CP.pm	2007-03-21 06:27:01 UTC (rev 971)
@@ -685,6 +685,7 @@
 
 			$sth = $dbh->prepare($query);
 			$sth->execute($form->{"id_$i"});
+			($id) = $sth->fetchrow_array();
 
 			$paid = ($form->{"paid_$i"} > $form->{"due_$i"}) ? $form->{"due_$i"} : $form->{"paid_$i"};
 			$amount = $form->round_amount($paid * $exchangerate, 2);


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