summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/PE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index fa3bcb8b..86d3414f 100755
--- a/LedgerSMB/PE.pm
+++ b/LedgerSMB/PE.pm
@@ -885,7 +885,7 @@ sub delete_project {
$sth->execute( $form->{id} ) || $form->dberror($query);
$query = qq|DELETE FROM translation
- WHERE trans_id = $form->{id}|;
+ WHERE trans_id = ?|;
$sth = $dbh->prepare($query);
$sth->execute( $form->{id} ) || $form->dberror($query);