Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r301 - registry/trunk/app/View/Elements

Subject: COmanage Developers List

List archive

[comanage-dev] r301 - registry/trunk/app/View/Elements


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r301 - registry/trunk/app/View/Elements
  • Date: Tue, 19 Jun 2012 17:08:15 -0400

Author: marie
Date: 2012-06-19 17:08:15 -0400 (Tue, 19 Jun 2012)
New Revision: 301

Modified:
registry/trunk/app/View/Elements/dropMenu.ctp
Log:
co359 logging in w/o co memberships throws errors

Modified: registry/trunk/app/View/Elements/dropMenu.ctp
===================================================================
--- registry/trunk/app/View/Elements/dropMenu.ctp 2012-05-29 19:13:46
UTC (rev 300)
+++ registry/trunk/app/View/Elements/dropMenu.ctp 2012-06-19 21:08:15
UTC (rev 301)
@@ -21,7 +21,9 @@
*/

// Load the list of COs
-$cos = $this->viewVars['menuContent']['cos'];
+if(isset($this->viewVars['menuContent']['cos']))
+ $cos = $this->viewVars['menuContent']['cos'];
+else $cos = array();
?>

<div class="menubar">



  • [comanage-dev] r301 - registry/trunk/app/View/Elements, svnlog, 06/19/2012

Archive powered by MHonArc 2.6.16.

Top of Page