Merge pull request #19849 from atm-maxime/fix_ticket_messaging

Fix missing require class project
This commit is contained in:
Laurent Destailleur 2022-01-19 01:50:19 +01:00 committed by GitHub
commit 20cec36a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);