From 550441b25426ffd6743431bf92afb5bc46170763 Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 23 Oct 2007 22:34:00 +0000 Subject: Properly handle invoice-type quantities from customer search git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1808 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/CT.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm index ad9beeee..fcc0b32c 100644 --- a/LedgerSMB/CT.pm +++ b/LedgerSMB/CT.pm @@ -673,7 +673,8 @@ sub search { 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 ) { -- cgit v1.2.3