Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2024-02-22 12:07:06 +01:00
commit 43f078a153

View File

@ -437,7 +437,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;
}