Merge pull request #22921 from atm-steve/fix_filter_by_hierarchy_on_project_task_by_month
fix: filter user by hierarchy on task
This commit is contained in:
commit
4628fc6313
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user