mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
do not disable data-line if rows-template has only one row
This commit is contained in:
parent
6fd3abff3b
commit
2c8193ab05
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user