mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +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();
|
$options = array();
|
||||||
foreach ($docAccess["groups"] as $grp) {
|
foreach ($docAccess["groups"] as $grp) {
|
||||||
$option = array($grp->getID(), htmlspecialchars($grp->getName()), null);
|
$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')));
|
$option[] = array(array('disabled', 'disabled'), array('data-subtitle', getMLText('group_is_mandatory_reviewer')));
|
||||||
$options[] = $option;
|
$options[] = $option;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user