fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17648]


From: nelson . guerra
Subject: [Fmsystem-commits] [17648]
Date: Fri, 19 Jan 2018 23:00:29 -0500 (EST)

Revision: 17648
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17648
Author:   nelson224
Date:     2018-01-19 23:00:29 -0500 (Fri, 19 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/catch/inc/class.uiconfig.inc.php

Modified: branches/dev-syncromind/catch/inc/class.uiconfig.inc.php
===================================================================
--- branches/dev-syncromind/catch/inc/class.uiconfig.inc.php    2018-01-20 
03:45:29 UTC (rev 17647)
+++ branches/dev-syncromind/catch/inc/class.uiconfig.inc.php    2018-01-20 
04:00:29 UTC (rev 17648)
@@ -294,8 +294,11 @@
 
                        $config_info = $this->bo->read_attrib($type_id);
 
-                       while (is_array($config_info) && list(,$entry) = 
each($config_info))
-                       {
+                       //while (is_array($config_info) && list(,$entry) = 
each($config_info))
+                        if (is_array($config_info))
+                        {
+                            foreach($config_info as $key => $entry)
+                            {
 
                                $content[] = array
                                (
@@ -310,7 +313,8 @@
                                        'lang_delete_config_text'       => 
lang('delete the config'),
                                        'lang_value_text'                       
=> lang('values for this config type'),
                                );
-                       }
+                            }
+                        }
 
 //_debug_array($content);
 
@@ -545,8 +549,11 @@
 
                        $config_info = 
$this->bo->read_value($type_id,$attrib_id);
 
-                       while (is_array($config_info) && list(,$entry) = 
each($config_info))
-                       {
+                       //while (is_array($config_info) && list(,$entry) = 
each($config_info))
+                        if (is_array($config_info))
+                        {
+                            foreach($config_info as $key => $entry)
+                            {
 
                                $content[] = array
                                (
@@ -563,7 +570,8 @@
                                        'lang_delete_config_text'       => 
lang('delete the config'),
                                        'lang_value_text'                       
=> lang('value for this config type'),
                                );
-                       }
+                            }
+                        }
 
 //_debug_array($content);
 




reply via email to

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