SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index 6dfed74..5047b3a 100644 (file)
@@ -348,7 +348,7 @@ class Pman_Core_SimpleExcel extends Pman
             
             if(isset($col_cfg['autoHeight'])){
                 $vv = explode("\n", $v);
-                $height = count($vv) * 20;
+                $maxHeight = MAX(count($vv) * 20, $maxHeight);;
                 $worksheet->setRow($start_row+$r, $height);
             }
         }