summaryrefslogtreecommitdiff
path: root/LedgerSMB/IC.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/IC.pm')
-rwxr-xr-xLedgerSMB/IC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm
index 7c61ef92..11fcf9c4 100755
--- a/LedgerSMB/IC.pm
+++ b/LedgerSMB/IC.pm
@@ -243,7 +243,7 @@ sub save {
$sth->execute($form->{id});
my ($id, $listprice, $sellprice, $lastcost, $weight,
$project_id)
- = $dbh->fetchrow_array();
+ = $sth->fetchrow_array();
if ($id) {