Conflict management

This commit is contained in:
Faustin 2022-06-15 15:05:07 +02:00
parent 9f4690eedd
commit 0f77d945a9

View File

@ -57,7 +57,7 @@ function contact_prepare_head(Contact $object)
$head[$tab][2] = 'perso';
$tab++;
if (!empty($conf->project->enabled) && $user->hasRight('project', 'lire')) {
if (!empty($conf->projet->enabled) && (!empty($user->rights->projet->lire))) {
$nbProject = 0;
// Enable caching of thirdrparty count projects
require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php';