Merge pull request #20186 from atm-kevin/FIX_Add_Id_In_Formproject

FIX : Add ID into formproject method
This commit is contained in:
Laurent Destailleur 2022-03-07 16:34:04 +01:00 committed by GitHub
commit dd9f10b1b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5202,13 +5202,15 @@ class Form
$out .= '<input type="submit" class="button smallpaddingimp" value="'.$langs->trans("Modify").'">';
$out .= '</form>';
} else {
$out .= '<span class="project_head_block">';
if ($selected) {
$projet = new Project($this->db);
$projet->fetch($selected);
$out .= $projet->getNomUrl(1, '', 1);
$out .= $projet->getNomUrl(1, '', 1);
} else {
$out .= "&nbsp;";
}
$out .= '</span>';
}
if (empty($nooutput)) {