mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
fix checking if group is in mandatory approvers
This commit is contained in:
parent
62ce0e7440
commit
3d030d4396
|
@ -647,7 +647,7 @@ console.log(params);
|
|||
$options = array();
|
||||
foreach ($docAccess["groups"] as $grp) {
|
||||
$option = array($grp->getID(), htmlspecialchars($grp->getName()), null);
|
||||
if(in_array($usr->getId(), $mapprovers['g']))
|
||||
if(in_array($grp->getId(), $mapprovers['g']))
|
||||
$option[] = array(array('disabled', 'disabled'), array('data-subtitle', getMLText('group_is_mandatory_approver')));
|
||||
$options[] = $option;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user