fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17530]


From: nelson . guerra
Subject: [Fmsystem-commits] [17530]
Date: Wed, 10 Jan 2018 19:36:33 -0500 (EST)

Revision: 17530
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17530
Author:   nelson224
Date:     2018-01-10 19:36:33 -0500 (Wed, 10 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uicustom.inc.php

Modified: branches/dev-syncromind/property/inc/class.uicustom.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uicustom.inc.php 2018-01-11 
00:36:10 UTC (rev 17529)
+++ branches/dev-syncromind/property/inc/class.uicustom.inc.php 2018-01-11 
00:36:33 UTC (rev 17530)
@@ -393,8 +393,11 @@
                                array('key' => 'link_down', 'label' => 
lang('Down'), 'sortable' => FALSE, 'hidden' => TRUE)
                        );
                        //formatLink formatCheck
-                       while (is_array($custom['cols']) && list(, $entry) = 
each($custom['cols']))
-                       {
+                       //while (is_array($custom['cols']) && list(, $entry) = 
each($custom['cols']))
+                        if (is_array($custom['cols']))
+                        {
+                            foreach($custom['cols'] as $entry)
+                            {
                                $cols[] = array(
                                        'id' => $entry['id'],
                                        'name' => $entry['name'],
@@ -407,7 +410,8 @@
                                                'resort' => 'down', 'cols_id' 
=> $entry['id'], 'custom_id' => $custom_id)),
                                        'delete' => $entry['id'],
                                );
-                       }
+                            }
+                        }
 
                        $datatable_def[] = array
                                (




reply via email to

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