mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix getting group for notification when transition has fired (Closes: #483)
This commit is contained in:
parent
983c90ee23
commit
1fb30caf25
|
@ -126,7 +126,7 @@ if($version->triggerWorkflowTransition($user, $transition, $_POST["comment"])) {
|
|||
}
|
||||
}
|
||||
foreach($ntransition->getGroups() as $tuser) {
|
||||
if(!in_array($tuser->getUser()->getID(), $groupsinformed)) {
|
||||
if(!in_array($tuser->getGroup()->getID(), $groupsinformed)) {
|
||||
$groupsinformed[] = $tuser->getGroup()->getID();
|
||||
$notifier->toGroup($user, $tuser->getGroup(), $subject, $message, $params);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user