Author: dr
Date: Wed Aug  1 17:17:26 2007
New Revision: 5800

Log:
- Make sure to bind the value.

Modified:
    trunk/Tree/src/stores/db_external.php

Modified: trunk/Tree/src/stores/db_external.php
==============================================================================
--- trunk/Tree/src/stores/db_external.php [iso-8859-1] (original)
+++ trunk/Tree/src/stores/db_external.php [iso-8859-1] Wed Aug  1 17:17:26 2007
@@ -200,7 +200,7 @@
         $q = $db->createSelectQuery();
         $q->select( 'id' )
           ->from( $db->quoteIdentifier( $this->table ) )
-          ->where( $q->expr->eq( $db->quoteIdentifier( $this->idField ), $id ) 
);
+          ->where( $q->expr->eq( $db->quoteIdentifier( $this->idField ), 
$q->bindValue( $id ) ) );
         $s = $q->prepare();
         $s->execute();
 


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to