diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 6e5c0a572d2..7bc80ae6107 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5199,13 +5199,17 @@ class Form
$out .= '';
$out .= '';
} else {
+ $out .= '';
if ($selected) {
$projet = new Project($this->db);
$projet->fetch($selected);
- $out .= $projet->getNomUrl(1, '', 1);
+
+ $out .= $projet->getNomUrl(1, '', 1);
+
} else {
$out .= " ";
}
+ $out .= '';
}
if (empty($nooutput)) {