mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:52 +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());
|
$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
|
$value['template']->data[0]['h'.$value['template']->rows] .= ',1'; // disable the last data row
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user