From d2cbead2039465f53348631e5d2880bd6bef8cd5 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 25 Feb 2022 09:17:18 +0100 Subject: [PATCH] Add an ID into formproject method to be able to target --- htdocs/core/class/html.form.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)) {