summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/PE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index fa3bcb8b..86d3414f 100644
--- 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);