fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17632]


From: nelson . guerra
Subject: [Fmsystem-commits] [17632]
Date: Thu, 18 Jan 2018 18:20:03 -0500 (EST)

Revision: 17632
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17632
Author:   nelson224
Date:     2018-01-18 18:20:03 -0500 (Thu, 18 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/admin/inc/class.uimenuclass.inc.php

Modified: branches/dev-syncromind/admin/inc/class.uimenuclass.inc.php
===================================================================
--- branches/dev-syncromind/admin/inc/class.uimenuclass.inc.php 2018-01-18 
23:19:47 UTC (rev 17631)
+++ branches/dev-syncromind/admin/inc/class.uimenuclass.inc.php 2018-01-18 
23:20:03 UTC (rev 17632)
@@ -45,8 +45,11 @@
                {
                        $i=0;
 
-                       while(list($key,$value) = each($_menuData))
-                       {
+                       //while(list($key,$value) = each($_menuData))
+                        if (is_array($_menuData))
+                        {
+                            foreach($_menuData as $key => $value)
+                            {
                                if (!empty($value['extradata']))
                                {
                                        $link = 
$GLOBALS['phpgw']->link($value['url'],'account_id=' . $GLOBALS['account_id'] . 
'&' . $value['extradata']);
@@ -57,7 +60,8 @@
                                }
                                
$this->section_item($link,lang($value['description']),$this->rowColor[($i % 
2)]);
                                $i++;
-                       }
+                            }
+                        }
 
                        
$this->t->set_var('th_bg',$GLOBALS['phpgw_info']['theme']['th_bg']);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]