SimpleExcel.php
authorEdward <edward@roojs.com>
Mon, 9 Feb 2015 09:29:51 +0000 (17:29 +0800)
committerEdward <edward@roojs.com>
Mon, 9 Feb 2015 09:29:51 +0000 (17:29 +0800)
SimpleExcel.php

index 4f9ce9e..a0da59b 100644 (file)
@@ -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++;