do not disable data-line if rows-template has only one row

This commit is contained in:
Ralf Becker 2005-06-11 20:15:02 +00:00
parent 6fd3abff3b
commit 2c8193ab05

View File

@ -192,7 +192,7 @@
{
$value['template'] =& new etemplate($value['template'],$tmpl->as_array());
}
if ($total < 1)
if ($total < 1 && $value['template']->rows > 1)
{
$value['template']->data[0]['h'.$value['template']->rows] .= ',1'; // disable the last data row
}