Author: sevein
Date: Tue Apr 5 03:53:35 2011
New Revision: 9062
Log:
Call __toString() explicitly.
Modified:
trunk/apps/qubit/modules/staticpage/actions/editAction.class.php
Modified: trunk/apps/qubit/modules/staticpage/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/staticpage/actions/editAction.class.php Tue Apr
5 00:02:48 2011 (r9061)
+++ trunk/apps/qubit/modules/staticpage/actions/editAction.class.php Tue Apr
5 03:53:35 2011 (r9062)
@@ -36,7 +36,7 @@
{
$this->resource = $this->getRoute()->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.