diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index cbc5452f3ba..68f88fa2ec5 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -364,7 +364,7 @@ class FormProjets } // Label for task $labeltoshow.=' - '.$obj->tref.' '.dol_trunc($obj->tlabel,$maxlength); - + if (!empty($selected) && $selected == $obj->rowid) { $out.= '