fix: filter user by hierarchy on task

This commit is contained in:
atm-steve 2022-11-22 15:07:33 +01:00
parent 8d6ccd4185
commit 1a73f4e9c6

View File

@ -419,7 +419,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);
}