projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b0887
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:24:06 +0000
(12:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:24:06 +0000
(12:24 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
ae23cd0
..
73a0a9f
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-176,7
+176,7
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['head'] as $row) {
foreach($row as $c => $col) {
if (is_array($col)) {
- $format = isset($
formats[$col[1]] ) ? $
formats[$col[1]] : false;
+ $format = isset($
this->formats[$col[1]] ) ?$this->
formats[$col[1]] : false;
$worksheet->write($start_row, $c, $col[0], $format);
continue;
}