projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae885bb
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:19:54 +0000
(16:19 +0800)
committer
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:19:54 +0000
(16:19 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
79a52f3
..
862ca85
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-163,8
+163,8
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
$v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
if (empty($cl[$col_cfg['dataIndex']])) {
- if(isset($
data
['fillBlank'])){
- $worksheet->write($start_row+$r, $c, '', $formats[$
data
['fillBlank']]);
+ if(isset($
cl
['fillBlank'])){
+ $worksheet->write($start_row+$r, $c, '', $formats[$
cl
['fillBlank']]);
}
continue;
}