From 44aa674812da80776c5034e4f1c913032b78de0e Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 9 Feb 2015 17:28:34 +0800 Subject: [PATCH] SimpleExcel.php --- SimpleExcel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimpleExcel.php b/SimpleExcel.php index 2884501c..f5bd7176 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -344,13 +344,13 @@ class Pman_Core_SimpleExcel extends Pman $worksheet->write($start_row+$r, $c, $v, $format); } -// if(isset($col_cfg['autoHeight'])){ + if(isset($col_cfg['autoHeight'])){ $vv = explode("\n", $v); $height = count($vv) * 20; $worksheet->setRow($start_row+$r, $height); -// } + } } $this->start_row++; -- 2.39.2