mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 00:09:13 +01:00
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);
|
||||
}
|
||||
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) {
|
||||
return ''; // if only one row omit cell
|
||||
|
Loading…
Reference in New Issue
Block a user