Author: Kris.Wallsmith
Date: 2010-03-20 15:35:57 +0100 (Sat, 20 Mar 2010)
New Revision: 28633

Modified:
   
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php
   
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php
Log:
[1.3, 1.4] fixed call to custom accessor (closes #8080)

Modified: 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php
===================================================================
--- 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php 
    2010-03-20 14:13:37 UTC (rev 28632)
+++ 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php 
    2010-03-20 14:35:57 UTC (rev 28633)
@@ -133,7 +133,7 @@
       } catch (Exception $e) {
         try {
           $method = 'get'.sfInflector::camelize($variable);
-          $parameters[$variable] = $object->$method;
+          $parameters[$variable] = $object->$method();
         } catch (Exception $e) {}
       }
     }

Modified: 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php
===================================================================
--- 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php 
    2010-03-20 14:13:37 UTC (rev 28632)
+++ 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php 
    2010-03-20 14:35:57 UTC (rev 28633)
@@ -133,7 +133,7 @@
       } catch (Exception $e) {
         try {
           $method = 'get'.sfInflector::camelize($variable);
-          $parameters[$variable] = $object->$method;
+          $parameters[$variable] = $object->$method();
         } catch (Exception $e) {}
       }
     }

-- 
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