Author: francois
Date: 2010-05-17 16:20:40 +0200 (Mon, 17 May 2010)
New Revision: 29494
Modified:
plugins/sfPropel15Plugin/trunk/lib/routing/sfPropel15RouteCollection.class.php
Log:
[sfPropel15Plugin] Fixed warning in propel collection routes
Modified:
plugins/sfPropel15Plugin/trunk/lib/routing/sfPropel15RouteCollection.class.php
===================================================================
---
plugins/sfPropel15Plugin/trunk/lib/routing/sfPropel15RouteCollection.class.php
2010-05-17 14:11:00 UTC (rev 29493)
+++
plugins/sfPropel15Plugin/trunk/lib/routing/sfPropel15RouteCollection.class.php
2010-05-17 14:20:40 UTC (rev 29494)
@@ -28,11 +28,9 @@
*/
public function __construct(array $options)
{
- $this->options = array_merge(array(
- 'query_methods' => array(),
- ), $this->options);
-
- $this->options['query_methods'] = array_merge(array('list' => null,
'object' => null), $this->options['query_methods']);
+ $options = array_merge(array(
+ 'query_methods' => array('list' => null, 'object' => null),
+ ), $options);
parent::__construct($options);
}
--
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.