mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
improved handling of empty linklist
This commit is contained in:
parent
83b0d0cd36
commit
50e1a8236e
@ -85,11 +85,12 @@
|
||||
$extension_data = $value;
|
||||
|
||||
$links = $this->link->get_links($app,$id);
|
||||
/* if (!count($links))
|
||||
if (!count($links))
|
||||
{
|
||||
$cell = $tmpl->empty_cell();
|
||||
return False;
|
||||
} */
|
||||
$value = '';
|
||||
return True;
|
||||
}
|
||||
$tpl = new etemplate('etemplate.link_widget.list');
|
||||
$tpl->data[0]['A'] = $tmpl->data[0]['A']; // set width of first col like the tmpl. calling us
|
||||
for($row=$tpl->rows-1; list(,$link) = each($links); ++$row)
|
||||
|
Loading…
Reference in New Issue
Block a user