FIX : hierarchyme and not hierachyme

This commit is contained in:
Gauthier PC portable 024 2023-01-05 15:41:57 +01:00
parent 25eac607eb
commit e7d31a821c

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);
}