From 1fc76b3dbadf551829f57924a5ddde536d15b07e Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 9 Feb 2015 17:29:32 +0800 Subject: [PATCH] SimpleExcel.php --- SimpleExcel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2