forked from extern/egroupware
"fix for some columns, which could not be switched off (eg. InfoLog category col), after the last fix"
This commit is contained in:
parent
93f99c8e58
commit
8e55998ce2
@ -690,11 +690,7 @@ class nextmatch_widget
|
|||||||
{
|
{
|
||||||
$label = substr($label,-3) == '...' ? lang(substr($label,0,-3)) : lang($label);
|
$label = substr($label,-3) == '...' ? lang(substr($label,0,-3)) : lang($label);
|
||||||
|
|
||||||
if (!$sub)
|
if (empty($label) || strpos($cols[$col],$label) === false)
|
||||||
{
|
|
||||||
$cols[$widget['name']] = $label;
|
|
||||||
}
|
|
||||||
elseif (empty($label) || strpos($cols[$col],$label) === false)
|
|
||||||
{
|
{
|
||||||
$cols[$col] .= ($cols[$col] ? ', ' : '').$label;
|
$cols[$col] .= ($cols[$col] ? ', ' : '').$label;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user