summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-23 22:34:00 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-23 22:34:00 +0000
commit550441b25426ffd6743431bf92afb5bc46170763 (patch)
tree9c94cf196968bd74d4cf4b611bac0346a0acf70d
parent87e8fc4c2ed5d18cccb368cff2a0a3bde923e0be (diff)
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
-rw-r--r--LedgerSMB/CT.pm3
1 files changed, 2 insertions, 1 deletions
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 ) {