comanage-dev - [comanage-dev] r522 - registry/trunk/app/View/Layouts
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r522 - registry/trunk/app/View/Layouts
- Date: Tue, 4 Jun 2013 17:55:04 -0400
- Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none
Author: marie
Date: 2013-06-04 17:55:04 -0400 (Tue, 04 Jun 2013)
New Revision: 522
Modified:
registry/trunk/app/View/Layouts/default.ctp
Log:
co139 add in existence check; not all models have search
Modified: registry/trunk/app/View/Layouts/default.ctp
===================================================================
--- registry/trunk/app/View/Layouts/default.ctp 2013-06-04 18:39:45 UTC (rev
521)
+++ registry/trunk/app/View/Layouts/default.ctp 2013-06-04 21:55:04 UTC (rev
522)
@@ -470,7 +470,7 @@
</ul>
<?php // Advanced Search (CO-139)
- if($permissions['search']) {
+ if(isset($permissions['search']) && $permissions['search'] ) {
// Get a pointer to our model
$model = $this->name;
if(!empty($this->plugin)) {
- [comanage-dev] r522 - registry/trunk/app/View/Layouts, svnlog, 06/04/2013
Archive powered by MHonArc 2.6.16.