SimpleExcel.php
[Pman.Core] / 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++;