Skip to Content.
Sympa Menu

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

Subject: COmanage Developers List

List archive

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


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r338 - registry/trunk/app/View/Elements
  • Date: Wed, 15 Aug 2012 03:37:34 -0400

Author: marie
Date: 2012-08-15 03:37:34 -0400 (Wed, 15 Aug 2012)
New Revision: 338

Modified:
registry/trunk/app/View/Elements/dropMenu.ctp
Log:
co399 handles case of user with no CO

Modified: registry/trunk/app/View/Elements/dropMenu.ctp
===================================================================
--- registry/trunk/app/View/Elements/dropMenu.ctp 2012-08-14 22:04:53
UTC (rev 337)
+++ registry/trunk/app/View/Elements/dropMenu.ctp 2012-08-15 07:37:34
UTC (rev 338)
@@ -21,7 +21,10 @@
*/

// 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] r338 - registry/trunk/app/View/Elements, svnlog, 08/15/2012

Archive powered by MHonArc 2.6.16.

Top of Page