diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index 9df0ad0ad6..509d3d3f6b 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -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; }