From 8efd2198e6e2fe03138e7adc58b9dd3e17fcf4d5 Mon Sep 17 00:00:00 2001 From: evarisk-micka Date: Thu, 12 Oct 2023 16:22:34 +0200 Subject: [PATCH] #3402 [ProjectCreation] fix: require thirdparty and project --- core/tpl/digiriskdolibarr_projectcreation_action.tpl.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php b/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php index e502f48ce..963777257 100644 --- a/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php +++ b/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php @@ -19,10 +19,13 @@ require_once DOL_DOCUMENT_ROOT . '/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT . '/core/lib/admin.lib.php'; +require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php'; +require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT . '/user/class/usergroup.class.php'; -$userGroup = new UserGroup($db); - +$userGroup = new UserGroup($db); +$project = new Project($db); +$third_party = new Societe($db); //Set multi entity sharing $params = array(