projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c39592
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:25:12 +0000
(12:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:25:12 +0000
(12:25 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
939f22a
..
186dab2
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-203,7
+203,7
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
- $format = isset($
col_cfg['color'
]) ? $this->formats[$col_cfg['color']] : false;
+ $format = isset($
this->formats[$col_cfg['color']
]) ? $this->formats[$col_cfg['color']] : false;
$worksheet->write($start_row, $c, $col_cfg['header'],$format);
$worksheet->setColumn ( $c, $c, $col_cfg['width'] / 5);
}