From b38afd7ca18f35644d6b2fa27dc8ad24e0ce6699 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 10 Nov 2006 23:53:23 +0000 Subject: Fixing inventory activity report drilldown git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@508 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index d624eaa0..592d8d24 100755 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -750,7 +750,7 @@ sub transactions { } } if ($form->{partsid}){ - my $parts_id = $dbh->quote($form->{parts_id}); + my $partsid = $dbh->quote($form->{partsid}); $where .= " AND a.id IN (select trans_id FROM invoice WHERE parts_id = $partsid)"; } -- cgit v1.2.3