Author: david
Date: Wed Oct 13 15:29:34 2010
New Revision: 8085

Log:
Invalid $resource handled in QubitResourceRoute.

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

Modified: trunk/apps/qubit/modules/repository/actions/indexAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/repository/actions/indexAction.class.php   Wed Oct 
13 15:24:31 2010        (r8084)
+++ trunk/apps/qubit/modules/repository/actions/indexAction.class.php   Wed Oct 
13 15:29:34 2010        (r8085)
@@ -23,11 +23,6 @@
   {
     $this->resource = $this->getRoute()->resource;
 
-    if (!isset($this->resource))
-    {
-      $this->forward404();
-    }
-
     $this->otherNames = $this->resource->getOtherNames();
     $this->maintenanceNote = null;
     if (0 < count($maintenanceNotes = 
$this->resource->getNotesByType(array('noteTypeId' => 
QubitTerm::MAINTENANCE_NOTE_ID))))

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