[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16036]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [16036] |
Date: |
Thu, 1 Dec 2016 00:50:20 +0000 (UTC) |
Revision: 16036
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16036
Author: nelson224
Date: 2016-12-01 00:50:20 +0000 (Thu, 01 Dec 2016)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind-2/property/inc/import/class.import_component_files.inc.php
Modified:
branches/dev-syncromind-2/property/inc/import/class.import_component_files.inc.php
===================================================================
---
branches/dev-syncromind-2/property/inc/import/class.import_component_files.inc.php
2016-11-30 02:49:46 UTC (rev 16035)
+++
branches/dev-syncromind-2/property/inc/import/class.import_component_files.inc.php
2016-12-01 00:50:20 UTC (rev 16036)
@@ -13,8 +13,8 @@
$this->path_upload_dir =
$GLOBALS['phpgw_info']['server']['files_dir'].$this->fakebase.'/';
$this->last_files_added = array();
+ $this->list_component_id = array();
$this->paths_from_file = array();
- $this->names = array();
}
public function get_path_upload_dir()
@@ -103,7 +103,7 @@
$message = array();
$uploaded_files = $this->_get_uploaded_files();
-
+
if ($this->receipt['error'])
{
return $this->receipt;
@@ -566,6 +566,11 @@
private function _get_component( $query,
$attrib_name_componentID, $location_code)
{
+ if (array_key_exists($query, $this->list_component_id))
+ {
+ return $this->list_component_id[$query];
+ }
+
$location_code_values = explode('-', $location_code);
$loc1 = $location_code_values[0];
@@ -585,6 +590,11 @@
$values['id'] = $this->db->f('id');
$values['location_id'] =
$this->db->f('location_id');
}
+
+ if ($values['id'])
+ {
+ $this->list_component_id[$query] = $values;
+ }
return $values;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16036],
nelson . guerra <=