Fix missing require class project

This commit is contained in:
Maxime Kohlhaas 2022-01-15 23:04:56 +01:00
parent 9dde80dd52
commit ea55712d1b

View File

@ -204,6 +204,7 @@ if (!empty($conf->projet->enabled))
}
} else {
if (!empty($object->fk_project)) {
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
$proj = new Project($db);
$proj->fetch($object->fk_project);
$morehtmlref .= $proj->getNomUrl(1);