Author: Russ
Date: 2010-03-17 12:44:51 +0100 (Wed, 17 Mar 2010)
New Revision: 28574

Modified:
   plugins/sfDoctrinePlugin/branches/1.3-2.0/lib/form/sfFormDoctrine.class.php
Log:
Replace deprecated function (removed in Doctrine revision 7358)


Modified: 
plugins/sfDoctrinePlugin/branches/1.3-2.0/lib/form/sfFormDoctrine.class.php
===================================================================
--- plugins/sfDoctrinePlugin/branches/1.3-2.0/lib/form/sfFormDoctrine.class.php 
2010-03-17 01:55:58 UTC (rev 28573)
+++ plugins/sfDoctrinePlugin/branches/1.3-2.0/lib/form/sfFormDoctrine.class.php 
2010-03-17 11:44:51 UTC (rev 28574)
@@ -286,7 +286,7 @@
     foreach($values as $key => $value)
     {
       $setMethod = "set".$key;
-      if (method_exists($obj, $setMethod) && !in_array($key, 
$md->getIdentifier()))
+      if (method_exists($obj, $setMethod) && !in_array($key, 
$md->getIdentifierFieldNames()))
       {
         call_user_func_array(array($obj, $setMethod), array($value));
       }

-- 
You received this message because you are subscribed to the Google Groups 
"symfony 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.com/group/symfony-svn?hl=en.

Reply via email to