Author: david
Date: Fri Oct 29 16:45:30 2010
New Revision: 8697
Log:
Explicitly call __toString().
Modified:
trunk/apps/qubit/modules/repository/actions/editAction.class.php
Modified: trunk/apps/qubit/modules/repository/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/repository/actions/editAction.class.php Fri Oct
29 16:08:24 2010 (r8696)
+++ trunk/apps/qubit/modules/repository/actions/editAction.class.php Fri Oct
29 16:45:30 2010 (r8697)
@@ -88,7 +88,7 @@
$choices = array();
foreach
(QubitTaxonomy::getTermsById(QubitTaxonomy::REPOSITORY_TYPE_ID) as $item)
{
- $choices[$this->context->routing->generate(null, array($item,
'module' => 'term'))] = $item;
+ $choices[$this->context->routing->generate(null, array($item,
'module' => 'term'))] = $item->__toString();
}
$this->form->setWidget('type', new sfWidgetFormSelect(array('choices'
=> $choices, 'multiple' => true)));
--
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.