projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12fc9ef
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Feb 2013 11:15:24 +0000
(19:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Feb 2013 11:15:24 +0000
(19:15 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
3158338
..
02c29bf
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-270,7
+270,7
@@
class Pman_Core_SimpleExcel extends Pman
$v = @iconv('UTF-8', 'UTF-8//IGNORE', $v);
- $format = isset($formats[$col_cfg['format']] ) ? $formats[$col_cfg['format']] : false;
+ $format = isset($
col_cfg['format']) && isset($
formats[$col_cfg['format']] ) ? $formats[$col_cfg['format']] : false;
// print_R(array($start_row+$r, $c, $v, $format));exit;
$worksheet->write($start_row+$r, $c, $v, $format);
}