fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16318] support legacy php


From: sigurdne
Subject: [Fmsystem-commits] [16318] support legacy php
Date: Thu, 16 Feb 2017 04:46:08 -0500 (EST)

Revision: 16318
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16318
Author:   sigurdne
Date:     2017-02-16 04:46:08 -0500 (Thu, 16 Feb 2017)
Log Message:
-----------
support legacy php

Modified Paths:
--------------
    trunk/property/inc/import/class.import_entity_categories.inc.php

Modified: trunk/property/inc/import/class.import_entity_categories.inc.php
===================================================================
--- trunk/property/inc/import/class.import_entity_categories.inc.php    
2017-02-16 09:11:13 UTC (rev 16317)
+++ trunk/property/inc/import/class.import_entity_categories.inc.php    
2017-02-16 09:46:08 UTC (rev 16318)
@@ -215,8 +215,9 @@
                        
                        while ($this->db->next_record())
                        {
-                               $building_part = explode(' ', 
trim($this->db->f('name')))[0];
-                                       
+                               $name_arr = explode(' ', 
trim($this->db->f('name')));
+                               $building_part = $name_arr[0];
+
                                $values[$building_part] = array
                                        (
                                        'id' => $this->db->f('id'),




reply via email to

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