projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4c435
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 07:49:37 +0000
(15:49 +0800)
committer
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 07:49:37 +0000
(15:49 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
f4b7377
..
a4d983c
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-146,7
+146,7
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
- $format = isset($col_cfg['
headerColor']) ? $formats[$col_cfg['headerC
olor']] : false;
+ $format = isset($col_cfg['
color']) ? $formats[$col_cfg['c
olor']] : false;
$worksheet->write($start_row, $c, $col_cfg['header'],$format);
$worksheet->setColumn ( $c, $c, $col_cfg['width'] / 5);