summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 23:53:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 23:53:23 +0000
commitb38afd7ca18f35644d6b2fa27dc8ad24e0ce6699 (patch)
treed8444fed9935bca18fe48179a225c188f2fdbecc
parentccd3513b0bb16060383fbe30bdd35750bec8e297 (diff)
Fixing inventory activity report drilldown
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@508 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/AA.pm2
1 files changed, 1 insertions, 1 deletions
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)";
}