From f7dfc0ea0b6a02ed9b107e788f38e3bb4350bfff Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 9 Feb 2015 17:31:51 +0800 Subject: [PATCH] SimpleExcel.php --- SimpleExcel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimpleExcel.php b/SimpleExcel.php index 573ac1d1..da65a4e5 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -348,13 +348,13 @@ class Pman_Core_SimpleExcel extends Pman // if(isset($col_cfg['autoHeight'])){ $vv = explode("\n", $v); - print_R(count($vv)); + $height = MAX(count($vv) * 20, $height);; $worksheet->setRow($start_row+$r, $height); // } } $this->start_row++; - exit; + return $hasRender; } -- 2.39.2