From 7affe071d143ba0f8f70054e16badc270b870c06 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 11 Nov 2006 00:07:23 +0000 Subject: 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 --- LedgerSMB/IC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3