fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17274] property: fix loop on insert location


From: sigurdne
Subject: [Fmsystem-commits] [17274] property: fix loop on insert location
Date: Mon, 6 Nov 2017 04:42:23 -0500 (EST)

Revision: 17274
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17274
Author:   sigurdne
Date:     2017-11-06 04:42:23 -0500 (Mon, 06 Nov 2017)
Log Message:
-----------
property: fix loop on insert location

Modified Paths:
--------------
    trunk/controller/setup/phpgw_no.lang
    trunk/property/inc/class.solocation.inc.php

Modified: trunk/controller/setup/phpgw_no.lang
===================================================================
--- trunk/controller/setup/phpgw_no.lang        2017-11-05 22:46:16 UTC (rev 
17273)
+++ trunk/controller/setup/phpgw_no.lang        2017-11-06 09:42:23 UTC (rev 
17274)
@@ -383,6 +383,7 @@
 Status done controller no      Status: Utført
 planned date   common  no      Planlagt Dato
 status components      controller      no      Status komponenter
+status locations       controller      no      Status lokasjoner
 controle time  common  no      Kontrolltid
 service time   common  no      Servicetid
 total time     common  no      Totaltid

Modified: trunk/property/inc/class.solocation.inc.php
===================================================================
--- trunk/property/inc/class.solocation.inc.php 2017-11-05 22:46:16 UTC (rev 
17273)
+++ trunk/property/inc/class.solocation.inc.php 2017-11-06 09:42:23 UTC (rev 
17274)
@@ -1416,15 +1416,17 @@
                                }
                        }
 
-                       //_debug_array($cols_return);
-                       if(empty($values['id']))
-                       {
-                               //In case old version of property-app
-                               if(isset($metadata['id']))
-                               {
-                                       $this->update_location();
-                               }
-                       }
+/**
+ * Loop on add...
+ */
+//                     if(empty($values['id']))
+//                     {
+//                             //In case old version of property-app
+//                             if(isset($metadata['id']))
+//                             {
+//                                     $this->update_location();
+//                             }
+//                     }
 
                        $location[$location_code] = $values;
                        return $values;




reply via email to

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