summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-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)";
}