diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index cfa6e0143d..7d976457e8 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -690,11 +690,7 @@ class nextmatch_widget { $label = substr($label,-3) == '...' ? lang(substr($label,0,-3)) : lang($label); - if (!$sub) - { - $cols[$widget['name']] = $label; - } - elseif (empty($label) || strpos($cols[$col],$label) === false) + if (empty($label) || strpos($cols[$col],$label) === false) { $cols[$col] .= ($cols[$col] ? ', ' : '').$label; }