projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6184ddb
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:52:52 +0000
(12:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:52:52 +0000
(12:52 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
5ca9611
..
3df50c2
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-332,7
+332,7
@@
class Pman_Core_SimpleExcel extends Pman
if (isset($col_cfg['txtrenderer'])) {
if (is_a($col_cfg['txtrenderer'], 'Closure')) {
- $v = $col_cfg['txtrenderer']->call(
$this
, $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $clo);
+ $v = $col_cfg['txtrenderer']->call(
null
, $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $clo);
} else {
$v = call_user_func($col_cfg['txtrenderer'],
$cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $clo);