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

SF.net SVN: ledger-smb: [1808] trunk/LedgerSMB/CT.pm



Revision: 1808
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1808&view=rev
Author:   tetragon
Date:     2007-10-23 15:34:00 -0700 (Tue, 23 Oct 2007)

Log Message:
-----------
Properly handle invoice-type quantities from customer search

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

Modified: trunk/LedgerSMB/CT.pm
===================================================================
--- trunk/LedgerSMB/CT.pm	2007-10-23 22:31:56 UTC (rev 1807)
+++ trunk/LedgerSMB/CT.pm	2007-10-23 22:34:00 UTC (rev 1808)
@@ -673,7 +673,8 @@
 
     my $tth = $dbh->prepare($query);
 
-    while ( my $ref = $sth->fetchrow_hashref(NAME_lc) ) {
+    while ( my $ref = $sth->fetchrow_hashref('NAME_lc') ) {
+        $form->db_parse_numeric(sth => $sth, hashref => $ref);
         $tth->execute( $ref->{id} );
 
         while ( ($item) = $tth->fetchrow_array ) {


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