X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=SimpleExcel.php;h=da65a4e58640c6400e57c9ca7796818c0ca64ca0;hb=f7dfc0ea0b6a02ed9b107e788f38e3bb4350bfff;hp=573ac1d1cc8c188c8df8ccf3944b26e78de2e546;hpb=ec79e79e340500b99c45dbb8d86207fa74e65845;p=Pman.Core 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; }