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