Conflict
This commit is contained in:
parent
4874b8d94a
commit
6696d3d4eb
@ -57,7 +57,7 @@ function contact_prepare_head(Contact $object)
|
||||
$head[$tab][2] = 'perso';
|
||||
$tab++;
|
||||
|
||||
if (!empty($conf->project->enabled) && (!empty($user->rights->projet->lire))) {
|
||||
if (!empty($conf->project->enabled) && $user->hasRight('project', 'lire')) {
|
||||
$nbProject = 0;
|
||||
// Enable caching of thirdrparty count projects
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user