[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1441] trunk/LedgerSMB/PE.pm



Revision: 1441
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1441&view=rev
Author:   tetragon
Date:     2007-07-25 19:53:49 -0700 (Wed, 25 Jul 2007)

Log Message:
-----------
Fixing 1760722

Modified Paths:
--------------
    trunk/LedgerSMB/PE.pm

Modified: trunk/LedgerSMB/PE.pm
===================================================================
--- trunk/LedgerSMB/PE.pm	2007-07-26 02:52:26 UTC (rev 1440)
+++ trunk/LedgerSMB/PE.pm	2007-07-26 02:53:49 UTC (rev 1441)
@@ -885,7 +885,7 @@
     $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);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.