projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d135e6
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 27 Aug 2013 02:49:08 +0000
(10:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 27 Aug 2013 02:49:08 +0000
(10:49 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
0c73d7c
..
74ca792
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-180,6
+180,10
@@
class Pman_Core_SimpleExcel extends Pman
$hasRender = false;
+ if (empty($data)) {
+ return;
+ }
+
foreach($data as $r=>$clo) {
$hasRenderRow = $this->addLine($cfg['workbook'], $clo);