Author: sevein
Date: Tue Jul 10 09:48:30 2012
New Revision: 11881

Log:
Revert r11843 and r11841, fixes issue 2374

Modified:
   trunk/apps/qubit/modules/informationobject/actions/editAction.class.php
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/editAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/editAction.class.php     
Tue Jul 10 00:02:06 2012        (r11880)
+++ trunk/apps/qubit/modules/informationobject/actions/editAction.class.php     
Tue Jul 10 09:48:30 2012        (r11881)
@@ -312,7 +312,7 @@
       case 'subjectAccessPoints':
       case 'placeAccessPoints':
         $value = $filtered = array();
-        foreach ((array)$this->form->getValue($field->getName()) as $item)
+        foreach ($this->form->getValue($field->getName()) as $item)
         {
           $params = $this->context->routing->parse(Qubit::pathInfo($item));
           $resource = $params['_sf_route']->resource;
@@ -343,7 +343,7 @@
 
       case 'nameAccessPoints':
         $value = $filtered = array();
-        foreach ((array)$this->form->getValue('nameAccessPoints') as $item)
+        foreach ($this->form->getValue('nameAccessPoints') as $item)
         {
           $params = $this->context->routing->parse(Qubit::pathInfo($item));
           $resource = $params['_sf_route']->resource;

Modified: 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/editAction.class.php
==============================================================================
--- 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/editAction.class.php    
    Tue Jul 10 00:02:06 2012        (r11880)
+++ 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/editAction.class.php    
    Tue Jul 10 09:48:30 2012        (r11881)
@@ -135,7 +135,7 @@
     {
       case 'creators':
         $value = $filtered = array();
-        foreach ((array)$this->form->getValue('creators') as $item)
+        foreach ($this->form->getValue('creators') as $item)
         {
           $params = $this->context->routing->parse(Qubit::pathInfo($item));
           $resource = $params['_sf_route']->resource;

-- 
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