summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-26 02:52:26 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-26 02:52:26 +0000
commit615544f357d5d76c9a40188548d8aeff78523a2c (patch)
tree9c831b9a2b703beec0f6a410f8e7f78eb1ea3b94
parent8520340cca7a0056a61b55975dc8ea77a934c81c (diff)
Fixing 1760722
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1440 4979c152-3d1c-0410-bac9-87ea11338e46
-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);