fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14886] property: fix input param


From: Sigurd Nes
Subject: [Fmsystem-commits] [14886] property: fix input param
Date: Sat, 02 Apr 2016 11:22:58 +0000

Revision: 14886
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14886
Author:   sigurdne
Date:     2016-04-02 11:22:58 +0000 (Sat, 02 Apr 2016)
Log Message:
-----------
property: fix input param

Modified Paths:
--------------
    trunk/property/inc/class.boadmin_location.inc.php

Modified: trunk/property/inc/class.boadmin_location.inc.php
===================================================================
--- trunk/property/inc/class.boadmin_location.inc.php   2016-04-01 13:06:28 UTC 
(rev 14885)
+++ trunk/property/inc/class.boadmin_location.inc.php   2016-04-02 11:22:58 UTC 
(rev 14886)
@@ -183,9 +183,17 @@
 
                function get_attrib_group_list( $type_id, $selected )
                {
-                       $location = ".location.{$type_id}";
-                       $group_list = $this->read_attrib_group($location, true);
+                       $params = array(
+                               'start' => 0,
+                               'query' => '',
+                               'sort' => 'ASC',
+                               'order' => 'group_sort',
+                               'allrows' => true,
+                               'type_id' => $type_id
+                       );
 
+                       $group_list = $this->read_attrib_group($params);
+
                        foreach ($group_list as &$group)
                        {
                                if ($group['id'] == $selected)




reply via email to

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