summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-23 22:31:56 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-23 22:31:56 +0000
commit771d0ae53b348456623f36461ef7005c655d8c95 (patch)
tree5ddb0a29f86e0ed726e92010eec7f25e40e02e42
parentc06ffd2e30f28fc54f73ba67dcbb2b8b1595f807 (diff)
Properly handle invoice-type quantities from customer search
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1807 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/CT.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm
index 43236c4b..7cfbb36b 100755
--- a/LedgerSMB/CT.pm
+++ b/LedgerSMB/CT.pm
@@ -841,6 +841,7 @@ sub search {
my $tth = $dbh->prepare($query);
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 ) {