projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a1b93
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:03:51 +0000
(16:03 +0800)
committer
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:03:51 +0000
(16:03 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
3fc5930
..
658150a
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-186,9
+186,9
@@
class Pman_Core_SimpleExcel extends Pman
}
if(isset($data['color'])){
if($format === false){
- $format = $
data['color'
];
+ $format = $
formats[$data['color']
];
}else{
- $format = array_merge($format,$
data['color'
]);
+ $format = array_merge($format,$
formats[$data['color']
]);
}
}
$worksheet->write($start_row+$r, $c, $v, $format);