Author: jablko
Date: Wed Oct 27 15:15:35 2010
New Revision: 8573

Log:
Typos, fixes issue 1856

Modified:
   
trunk/apps/qubit/modules/informationobject/actions/editPhysicalObjectsAction.class.php
   
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/editPhysicalObjectsAction.class.php
==============================================================================
--- 
trunk/apps/qubit/modules/informationobject/actions/editPhysicalObjectsAction.class.php
      Wed Oct 27 15:03:45 2010        (r8572)
+++ 
trunk/apps/qubit/modules/informationobject/actions/editPhysicalObjectsAction.class.php
      Wed Oct 27 15:15:35 2010        (r8573)
@@ -100,7 +100,7 @@
       foreach ($this->request->delete_relations as $item)
       {
         $params = $this->context->routing->parse(Qubit::pathInfo($item));
-        $params['sf_route']->resource->delete();
+        $params['_sf_route']->resource->delete();
       }
     }
   }

Modified: 
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
==============================================================================
--- 
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
 Wed Oct 27 15:03:45 2010        (r8572)
+++ 
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
 Wed Oct 27 15:15:35 2010        (r8573)
@@ -26,7 +26,7 @@
             </div></td><td style="width: 20px;"><div class="animateNicely">
               <?php echo link_to(image_tag('pencil', array('align' => 'top')), 
array($item->subject, 'module' => 'physicalobject', 'action' => 'edit')) ?>
             </div></td><td style="width: 20px;"><div class="animateNicely">
-              <input class="multiDelete" name="delete_relations[]" 
type="checkbox" value="<?php echo url_for(array($item, array('module' => 
'relation'))) ?>"/>
+              <input class="multiDelete" name="delete_relations[]" 
type="checkbox" value="<?php echo url_for(array($item, 'module' => 'relation')) 
?>"/>
             </div></td>
           </tr>
         <?php endforeach; ?>

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