projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fdea6b
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:32:13 +0000
(12:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 29 Jan 2014 04:32:13 +0000
(12:32 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
55373d1
..
266ae7e
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-207,7
+207,7
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
- $format = isset(
[
$col_cfg['color']) && isset($this->formats[$col_cfg['color']]) ? $this->formats[$col_cfg['color']] : false;
+ $format = isset($col_cfg['color']) && 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);
}