"fix for some columns, which could not be switched off (eg. InfoLog category col), after the last fix"

This commit is contained in:
Ralf Becker 2009-08-25 14:40:28 +00:00
parent 93f99c8e58
commit 8e55998ce2

View File

@ -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;
} }