Author: Jonathan.Wage
Date: 2010-01-13 23:09:41 +0100 (Wed, 13 Jan 2010)
New Revision: 26589
Modified:
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing issue with lazy loading
Modified:
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
2010-01-13 22:06:51 UTC (rev 26588)
+++
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
2010-01-13 22:09:41 UTC (rev 26589)
@@ -333,7 +333,7 @@
public function getRouteName()
{
- if ($this['custom_path'] || $this['module'] || $this['action'])
+ if ($this->get('custom_path', false) || $this->get('module', false) ||
$this->get('action', false))
{
return '@sympal_content_' . str_replace('-', '_', $this['slug']);
} else if ($this['Type']['default_path']) {
--
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.