Author: jwage
Date: 2008-08-27 02:53:12 +0100 (Wed, 27 Aug 2008)
New Revision: 4827

Modified:
   branches/1.0/lib/Doctrine/Connection.php
Log:
fixes #1295


Modified: branches/1.0/lib/Doctrine/Connection.php
===================================================================
--- branches/1.0/lib/Doctrine/Connection.php    2008-08-27 01:47:26 UTC (rev 
4826)
+++ branches/1.0/lib/Doctrine/Connection.php    2008-08-27 01:53:12 UTC (rev 
4827)
@@ -633,7 +633,7 @@
 
         $sql  = 'UPDATE ' . $this->quoteIdentifier($table->getTableName())
               . ' SET ' . implode(', ', $set)
-              . ' WHERE ' . implode(' = ? AND ', 
$table->getIdentifierColumnNames())
+              . ' WHERE ' . implode(' = ? AND ', 
$this->quoteMultipleIdentifier($table->getIdentifierColumnNames()))
               . ' = ?';
           
         return $this->exec($sql, $params);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to