From 45f92ca6f507b6c3f88de026849d8550d750d212 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 17 Oct 2007 16:09:26 +0000 Subject: Apply db_parse_numeric to the correct hashref, fixes 1815081 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1769 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/RP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/RP.pm b/LedgerSMB/RP.pm index 4854355e..86709551 100644 --- a/LedgerSMB/RP.pm +++ b/LedgerSMB/RP.pm @@ -2289,7 +2289,7 @@ sub payments { $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; -- cgit v1.2.3