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

SF.net SVN: ledger-smb: [1440] branches/1.2/LedgerSMB/PE.pm



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

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

Modified Paths:
--------------
    branches/1.2/LedgerSMB/PE.pm

Modified: branches/1.2/LedgerSMB/PE.pm
===================================================================
--- branches/1.2/LedgerSMB/PE.pm	2007-07-25 04:26:20 UTC (rev 1439)
+++ branches/1.2/LedgerSMB/PE.pm	2007-07-26 02:52:26 UTC (rev 1440)
@@ -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.