From 0482656c8c5401a840249a817148b49bde4f58a8 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 11 Oct 2007 23:15:57 +0000 Subject: Fixing error on parts cost display, bug 1811470 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1748 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index c8d39f5f..2f06891b 100644 --- a/LedgerSMB/IC.pm +++ b/LedgerSMB/IC.pm @@ -56,6 +56,7 @@ sub get_part { my $sth = $dbh->prepare($query); $sth->execute( $form->{id} ) || $form->dberror($query); my $ref = $sth->fetchrow_hashref(NAME_lc); + $form->db_parse_numeric(sth => $sth, hashref => $ref); # copy to $form variables for ( keys %$ref ) { $form->{$_} = $ref->{$_} } -- cgit v1.2.3