Author: sevein
Date: Tue Oct  4 22:15:13 2011
New Revision: 9926

Log:
Call toString explicitly

Modified:
   trunk/apps/qubit/modules/physicalobject/actions/indexAction.class.php

Modified: trunk/apps/qubit/modules/physicalobject/actions/indexAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/actions/indexAction.class.php       
Tue Oct  4 22:14:05 2011        (r9925)
+++ trunk/apps/qubit/modules/physicalobject/actions/indexAction.class.php       
Tue Oct  4 22:15:13 2011        (r9926)
@@ -28,7 +28,7 @@
       $this->forward404();
     }
 
-    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.

Reply via email to