forked from extern/egroupware
fix for bug #41: etemplate generates empty images <img src="">
This commit is contained in:
parent
7734e2f55e
commit
4c1b672b72
@ -810,7 +810,7 @@
|
|||||||
{
|
{
|
||||||
$cell['size'] = $this->expand_name($cell['size'],$show_c,$show_row,$content['.c'],$content['.row'],$content);
|
$cell['size'] = $this->expand_name($cell['size'],$show_c,$show_row,$content['.c'],$content['.row'],$content);
|
||||||
}
|
}
|
||||||
if ($cell['disabled'] && $readonlys[$name] !== false || $readonly && $cell['type'] == 'button' && $cell['size'] && strpos($cell['size'],',')===false)
|
if ($cell['disabled'] && $readonlys[$name] !== false || $readonly && $cell['type'] == 'button' && strpos($cell['size'],',')===false)
|
||||||
{
|
{
|
||||||
if ($this->rows == 1) {
|
if ($this->rows == 1) {
|
||||||
return ''; // if only one row omit cell
|
return ''; // if only one row omit cell
|
||||||
|
Loading…
Reference in New Issue
Block a user