diff options
-rwxr-xr-x | LedgerSMB/PE.pm | 2 |
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; |