From: Edward Date: Mon, 9 Feb 2015 09:35:15 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=d6112972c1d9c741412dec602404f5ad6b85ceec;hp=3aebc4b31b4f26589f18f38ce78b82621343b59b;p=Pman.Core SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index b6400192..b6b5f41d 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -299,7 +299,7 @@ class Pman_Core_SimpleExcel extends Pman $worksheet->setRow($start_row +$r, $cfg['row_height']); } - $height = 12; + $height = (isset($cfg['line_height'])) ? $cfg['line_height'] : 12; foreach($cfg['cols'] as $c => $col_cfg) {