From: Edward Date: Mon, 9 Feb 2015 09:29:32 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=1fc76b3dbadf551829f57924a5ddde536d15b07e SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 6dfed74b..5047b3a7 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -348,7 +348,7 @@ class Pman_Core_SimpleExcel extends Pman if(isset($col_cfg['autoHeight'])){ $vv = explode("\n", $v); - $height = count($vv) * 20; + $maxHeight = MAX(count($vv) * 20, $maxHeight);; $worksheet->setRow($start_row+$r, $height); } }