diff options
-rwxr-xr-x | LedgerSMB/IC.pm | 2 |
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) { |