projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
71331bd
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:51:42 +0000
(12:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:51:42 +0000
(12:51 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
113f806
..
d37fbc9
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-255,7
+255,7
@@
class Pman_Core_SimpleExcel extends Pman
if (empty($cl[$col_cfg['dataIndex']])) {
continue;
}
- if (
isset
($col_cfg['renderer'])) {
+ if (
!empty
($col_cfg['renderer'])) {
if (is_a($col_cfg['renderer'], 'Closure')) {
$col_cfg['renderer']->call($this, $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $cl);