summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-15 06:48:15 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-15 06:48:15 +0000
commitd8c0e366058f7f69f5edd78c8279ed9b2f52d275 (patch)
tree8e7724a59afb6cd18a5d09b2b86d85c78bc92009 /LedgerSMB
parentfd1a950d2fc26ec83b7f32facae14e4f37021a76 (diff)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@619 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-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;