fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15387]


From: nelson . guerra
Subject: [Fmsystem-commits] [15387]
Date: Thu, 28 Jul 2016 00:38:02 +0000 (UTC)

Revision: 15387
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15387
Author:   nelson224
Date:     2016-07-28 00:38:02 +0000 (Thu, 28 Jul 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/inc/import/import_update_components.php

Modified: 
branches/dev-syncromind-2/property/inc/import/import_update_components.php
===================================================================
--- branches/dev-syncromind-2/property/inc/import/import_update_components.php  
2016-07-27 12:42:23 UTC (rev 15386)
+++ branches/dev-syncromind-2/property/inc/import/import_update_components.php  
2016-07-28 00:38:02 UTC (rev 15387)
@@ -128,7 +128,7 @@
                        return $buildingparts;
                }
                
-               public function add_bim_item($entity_categories)
+               public function add_bim_item($entity_categories, $location)
                {
                        $components_not_added = array();
                        foreach ($entity_categories as $entity) 
@@ -141,7 +141,7 @@
                                        foreach ($entity['components'] as 
$values)
                                        {
                                                $attributes_values = 
$this->set_attributes_values($values, $attributes);
-                                               $receipt = 
$this->bo_entity->save(array('cat_id' => $entity['cat_id']), 
$attributes_values, 'add', $entity['entity_id'], $entity['cat_id']);
+                                               $receipt = 
$this->bo_entity->save(array('location' => $location), $attributes_values, 
'add', $entity['entity_id'], $entity['cat_id']);
                                                if (!$receipt['id'])
                                                {
                                                        $not_added[] = 1;




reply via email to

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