Merge pull request #23426 from atm-gauthier/fix_hierarchyme_on_activity_permonth

FIX : hierarchyme and not hierachyme
This commit is contained in:
Laurent Destailleur 2023-01-06 15:48:38 +01:00 committed by GitHub
commit 81e39646ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,7 +418,7 @@ if (! empty($conf->categorie->enabled))
// If the user can view user other than himself
$moreforfilter .= '<div class="divsearchfield">';
$moreforfilter .= '<div class="inline-block hideonsmartphone"></div>';
$includeonly = 'hierachyme';
$includeonly = 'hierarchyme';
if (empty($user->rights->user->user->lire)) {
$includeonly = array($user->id);
}