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

SF.net SVN: ledger-smb: [1769] trunk/LedgerSMB/RP.pm



Revision: 1769
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1769&view=rev
Author:   tetragon
Date:     2007-10-17 09:09:26 -0700 (Wed, 17 Oct 2007)

Log Message:
-----------
Apply db_parse_numeric to the correct hashref, fixes 1815081

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

Modified: trunk/LedgerSMB/RP.pm
===================================================================
--- trunk/LedgerSMB/RP.pm	2007-10-16 19:36:30 UTC (rev 1768)
+++ trunk/LedgerSMB/RP.pm	2007-10-17 16:09:26 UTC (rev 1769)
@@ -2289,7 +2289,7 @@
         $sth->execute || $form->dberror($query);
 
         while ( my $pr = $sth->fetchrow_hashref(NAME_lc) ) {
-            $form->db_parse_numeric(sth=>$sth, hashref=>$ref);
+            $form->db_parse_numeric(sth=>$sth, hashref=>$pr);
             push @{ $form->{ $ref->{id} } }, $pr;
         }
         $sth->finish;


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