Author: sevein
Date: Tue Dec 6 16:09:27 2011
New Revision: 10370
Log:
Call toString explicitly
Modified:
trunk/plugins/sfDcPlugin/modules/sfDcPlugin/actions/indexAction.class.php
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/indexAction.class.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/actions/indexAction.class.php
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/actions/indexAction.class.php
Modified:
trunk/plugins/sfDcPlugin/modules/sfDcPlugin/actions/indexAction.class.php
==============================================================================
--- trunk/plugins/sfDcPlugin/modules/sfDcPlugin/actions/indexAction.class.php
Tue Dec 6 11:03:44 2011 (r10369)
+++ trunk/plugins/sfDcPlugin/modules/sfDcPlugin/actions/indexAction.class.php
Tue Dec 6 16:09:27 2011 (r10370)
@@ -34,7 +34,7 @@
$this->dc = new sfDcPlugin($this->resource);
- if (1 > strlen($title = $this->resource))
+ if (1 > strlen($title = $this->resource->__toString()))
{
$title = $this->context->i18n->__('Untitled');
}
Modified:
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/indexAction.class.php
==============================================================================
---
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/indexAction.class.php
Tue Dec 6 11:03:44 2011 (r10369)
+++
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/indexAction.class.php
Tue Dec 6 16:09:27 2011 (r10370)
@@ -34,7 +34,7 @@
$this->isad = new sfIsadPlugin($this->resource);
- if (1 > strlen($title = $this->resource))
+ if (1 > strlen($title = $this->resource->__toString()))
{
$title = $this->context->i18n->__('Untitled');
}
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/actions/indexAction.class.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/actions/indexAction.class.php
Tue Dec 6 11:03:44 2011 (r10369)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/actions/indexAction.class.php
Tue Dec 6 16:09:27 2011 (r10370)
@@ -25,7 +25,7 @@
$this->isdf = new sfIsdfPlugin($this->resource);
- if (1 > strlen($title = $this->resource))
+ if (1 > strlen($title = $this->resource->__toString()))
{
$title = $this->context->i18n->__('Untitled');
}
Modified:
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/actions/indexAction.class.php
==============================================================================
---
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/actions/indexAction.class.php
Tue Dec 6 11:03:44 2011 (r10369)
+++
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/actions/indexAction.class.php
Tue Dec 6 16:09:27 2011 (r10370)
@@ -34,7 +34,7 @@
$this->mods = new sfModsPlugin($this->resource);
- if (1 > strlen($title = $this->resource))
+ if (1 > strlen($title = $this->resource->__toString()))
{
$title = $this->context->i18n->__('Untitled');
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.