From db088957c39ec45f35eb77448f7698407eec7f90 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 15 Nov 2006 07:01:12 +0000 Subject: Fixing pricegroup creation bug git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@622 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/PE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm index 07da3dff..fe84ed1d 100755 --- a/LedgerSMB/PE.pm +++ b/LedgerSMB/PE.pm @@ -1143,7 +1143,7 @@ sub save_pricegroup { INSERT INTO pricegroup (pricegroup) VALUES (?)|; } - $sth = $dbh->do($query); + $sth = $dbh->prepare($query); $sth->execute($form->{pricegroup}) || $form->dberror($query); $dbh->commit; -- cgit v1.2.3