Merge pull request #12633 from atm-lena/FIX_getrights_request

FIX getrights() request
This commit is contained in:
Laurent Destailleur 2019-12-06 16:22:47 +01:00 committed by GitHub
commit 22f575dad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -879,6 +879,7 @@ class User extends CommonObject
else
{
$sql.= " AND gr.entity = ".$conf->entity;
$sql.= " AND gu.entity = ".$conf->entity;
$sql.= " AND r.entity = ".$conf->entity;
}
$sql.= " AND gr.fk_usergroup = gu.fk_usergroup";