summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IR.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index c3766227..d5b38bda 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -1214,8 +1214,6 @@ sub retrieve_item {
$where .= " ORDER BY 2";
}
- # connect to database
- my $dbh = $form->dbconnect($myconfig);
my $query = qq|
SELECT p.id, p.partnumber, p.description,