From 36dbc1f825063aba0b9154f371a7668c2cdf4672 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 22 Feb 2024 12:07:35 +0100 Subject: [PATCH] no need to check if group has users because it has been remove from the mandatory groups already --- views/bootstrap/class.CheckInDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.CheckInDocument.php b/views/bootstrap/class.CheckInDocument.php index 189be994f..cc5d8af1d 100644 --- a/views/bootstrap/class.CheckInDocument.php +++ b/views/bootstrap/class.CheckInDocument.php @@ -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; }