From ea55712d1b7b9c9d9710c6a7151ca0bed7f8651a Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Sat, 15 Jan 2022 23:04:56 +0100 Subject: [PATCH] Fix missing require class project --- htdocs/ticket/messaging.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/ticket/messaging.php b/htdocs/ticket/messaging.php index 49f15412965..9ee2b627118 100644 --- a/htdocs/ticket/messaging.php +++ b/htdocs/ticket/messaging.php @@ -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);