[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7519] property: more on import
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7519] property: more on import |
Date: |
Sun, 21 Aug 2011 16:24:35 +0000 |
Revision: 7519
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7519
Author: sigurdne
Date: 2011-08-21 16:24:30 +0000 (Sun, 21 Aug 2011)
Log Message:
-----------
property: more on import
Modified Paths:
--------------
trunk/property/inc/class.uiimport.inc.php
Modified: trunk/property/inc/class.uiimport.inc.php
===================================================================
--- trunk/property/inc/class.uiimport.inc.php 2011-08-21 15:12:37 UTC (rev
7518)
+++ trunk/property/inc/class.uiimport.inc.php 2011-08-21 16:24:30 UTC (rev
7519)
@@ -391,11 +391,13 @@
for ($i=$start; $i<$rows; $i++ ) //First data entry on
row 2
{
- foreach($data->sheets[0]['cells'][$i] as
&$value)
+ $_result = array();
+ foreach($data->sheets[0]['cells'][$i] as $key
=> $value)
{
- $value = utf8_encode(trim($value));
+ $_key = $key - 1;
+ $_result[$_key] =
utf8_encode(trim($value));
}
- $result[] =
array_values($data->sheets[0]['cells'][$i]);
+ $result[] = $_result;
}
$this->messages[] = "Read '{$path}' file in " . (time()
- $start_time) . " seconds";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7519] property: more on import,
Sigurd Nes <=