mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
no need to check if group has users because it has been remove from the mandatory groups already
This commit is contained in:
parent
43f078a153
commit
36dbc1f825
|
@ -364,7 +364,7 @@ $(document).ready(function() {
|
|||
$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