Author: sevein
Date: Fri Oct 21 10:29:02 2011
New Revision: 10152

Log:
Relax the condition

Modified:
   trunk/lib/QubitResourceRoute.class.php

Modified: trunk/lib/QubitResourceRoute.class.php
==============================================================================
--- trunk/lib/QubitResourceRoute.class.php      Thu Oct 20 16:40:12 2011        
(r10151)
+++ trunk/lib/QubitResourceRoute.class.php      Fri Oct 21 10:29:02 2011        
(r10152)
@@ -26,7 +26,7 @@
     $criteria->addJoin(QubitSlug::OBJECT_ID, QubitObject::ID);
 
     $this->resource = QubitObject::get($criteria)->__get(0);
-    if (isset($params['throw404']) && $params['throw404'] == true && 
!isset($this->resource))
+    if (@$params['throw404'] == false && !isset($this->resource))
     {
       throw new sfError404Exception;
     }

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