mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
do not add uploader and reviewer as recipient
This commit is contained in:
parent
af066bb15b
commit
87519d6d08
|
@ -293,8 +293,8 @@ if (isset($_POST["grpIndRecipients"])) {
|
|||
if($group = $dms->getGroup($grp)) {
|
||||
$members = $group->getUsers();
|
||||
foreach($members as $member) {
|
||||
/* Do not add the uploader itself and approvers */
|
||||
if($member->getID() != $user->getID() && !in_array($member->getID(), $approvers['i']))
|
||||
/* Do not add the uploader itself and reviewers */
|
||||
if(!$settings->_enableFilterReceipt || ($member->getID() != $user->getID() && !in_array($member->getID(), $reviewers['i'])))
|
||||
$recipients["i"][] = $member->getID();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user