summaryrefslogtreecommitdiff
path: root/LedgerSMB/PE.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/PE.pm')
-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;