"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:48:08 +00:00
parent 7d92143b11
commit 8e5de9e041

View File

@ -653,11 +653,7 @@ class nextmatch_widget
{
$label = substr($label,-3) == '...' ? lang(substr($label,0,-3)) : lang($label);
if (!$sub)
{
$cols[$widget['name']] = $label;
}
elseif (strpos($cols[$col],$label) === false)
if (empty($label) || strpos($cols[$col],$label) === false)
{
$cols[$col] .= ($cols[$col] ? ', ' : '').$label;
}