projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19200e3
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Feb 2013 11:12:26 +0000
(19:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Feb 2013 11:12:26 +0000
(19:12 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
7f42b13
..
1116a95
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-269,7
+269,7
@@
class Pman_Core_SimpleExcel extends Pman
$v = @iconv('UTF-8', 'UTF-8//IGNORE', $v);
- $format = isset($
col_cfg['format'])
? $formats[$col_cfg['format']] : false;
+ $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);
}