SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index 31e3152..1d077aa 100644 (file)
@@ -346,10 +346,8 @@ class Pman_Core_SimpleExcel extends Pman
             
             if(isset($col_cfg['autoHeight'])){
                 $vv = explode("\n", $v);
-                
                 $height = count($vv) * 20;
-                
-                $worksheet->write($start_row+$r, $height);
+                $worksheet->setRow($start_row+$r, $height);
             }
         }
         $this->start_row++;