fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17649]


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

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


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

Modified: branches/dev-syncromind/catch/inc/class.boconfig.inc.php
===================================================================
--- branches/dev-syncromind/catch/inc/class.boconfig.inc.php    2018-01-20 
04:00:29 UTC (rev 17648)
+++ branches/dev-syncromind/catch/inc/class.boconfig.inc.php    2018-01-20 
04:00:48 UTC (rev 17649)
@@ -255,8 +255,11 @@
 
                        $categories= $this->so->select_category_list();
 
-                       while (is_array($categories) && list(,$category) = 
each($categories))
-                       {
+                       //while (is_array($categories) && list(,$category) = 
each($categories))
+                        if (is_array($categories))
+                        {
+                            foreach($categories as $key => $category)
+                            {
                                $sel_category = '';
                                if ($category['id']==$selected)
                                {
@@ -269,7 +272,8 @@
                                        'name'          => $category['name'],
                                        'selected'      => $sel_category
                                );
-                       }
+                            }
+                        }
 
                        for ($i=0;$i<count($category_list);$i++)
                        {




reply via email to

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