summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-15 07:01:12 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-15 07:01:12 +0000
commitdb088957c39ec45f35eb77448f7698407eec7f90 (patch)
tree0f535797f8b2195ac3f7b516b3de7a1c11575c15
parent3ab810cf3fccb98c580c281a12e0dd7c66e3d160 (diff)
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
-rwxr-xr-xLedgerSMB/PE.pm2
1 files changed, 1 insertions, 1 deletions
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;