fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15161] item id


From: sigurdne
Subject: [Fmsystem-commits] [15161] item id
Date: Fri, 13 May 2016 13:52:50 +0000 (UTC)

Revision: 15161
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15161
Author:   sigurdne
Date:     2016-05-13 13:52:50 +0000 (Fri, 13 May 2016)
Log Message:
-----------
item id

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

Modified: branches/dev-syncromind-2/property/inc/class.solocation.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.solocation.inc.php     
2016-05-13 12:33:12 UTC (rev 15160)
+++ branches/dev-syncromind-2/property/inc/class.solocation.inc.php     
2016-05-13 13:52:50 UTC (rev 15161)
@@ -345,6 +345,16 @@
                                $location_types = 
$this->soadmin_location->select_location_type();
 
                                $cols = "fm_location{$type_id}.*";
+                               $cols_return[] = 'id';
+                               $uicols['input_type'][] = 'hidden';
+                               $uicols['name'][] = 'id';
+                               $uicols['descr'][] = 'dummy';
+                               $uicols['statustext'][] = 'dummy';
+                               $uicols['exchange'][] = false;
+                               $uicols['align'][] = '';
+                               $uicols['datatype'][] = '';
+                               $uicols['formatter'][] = '';
+
                                $cols_return[] = 'location_code';
                                $uicols['input_type'][] = 'hidden';
                                $uicols['name'][] = 'location_code';
@@ -1543,7 +1553,7 @@
                        $levels = $this->db->f('levels');
 
                        //perform an update on all location_codes on all levels 
to make sure they are consistent and unique
-                       $locations = array();
+/*                     $locations = array();
                        for ($level = 1; $level < ($levels + 1); $level++)
                        {
                                $sql = "SELECT * from fm_location{$level}";
@@ -1574,7 +1584,7 @@
                                        $this->db->query($sql, __LINE__, 
__FILE__);
                                }
                        }
-
+*/
                        $locations = array();
                        for ($i = 1; $i < ($levels + 1); $i++)
                        {




reply via email to

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