mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
no need to check if group has users, because those groups have been removed from the mandatory already
This commit is contained in:
parent
c5d44c3674
commit
43a22ea252
|
@ -409,7 +409,7 @@ console.log(element);
|
|||
$options = array();
|
||||
foreach ($docAccess["groups"] as $grp) {
|
||||
$option = array($grp->getID(), htmlspecialchars($grp->getName()), null);
|
||||
if(in_array($grp->getId(), $mreviewers['g']) || !$grp->getUsers())
|
||||
if(in_array($grp->getId(), $mreviewers['g']))
|
||||
$option[] = array(array('disabled', 'disabled'), array('data-subtitle', getMLText('group_is_mandatory_reviewer')));
|
||||
$options[] = $option;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user