summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-11 00:07:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-11 00:07:23 +0000
commit7affe071d143ba0f8f70054e16badc270b870c06 (patch)
tree333379755ff9e6349100da903f6087d6ef18ad54
parente0fd5d2b72f1f8306d69972ca1c067a83f48ad3d (diff)
Fixed bug preventing parts from being updated
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@510 4979c152-3d1c-0410-bac9-87ea11338e46
-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) {