From 6811633ba24b64e0ac65e9731a8c9ea66943f8cb Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 11 Oct 2007 23:15:06 +0000 Subject: Fixing error on parts cost display, bug 1811470 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1747 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IC.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB') diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index 32771b6b..175393c7 100755 --- 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