mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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) {
|
foreach($ntransition->getGroups() as $tuser) {
|
||||||
if(!in_array($tuser->getUser()->getID(), $groupsinformed)) {
|
if(!in_array($tuser->getGroup()->getID(), $groupsinformed)) {
|
||||||
$groupsinformed[] = $tuser->getGroup()->getID();
|
$groupsinformed[] = $tuser->getGroup()->getID();
|
||||||
$notifier->toGroup($user, $tuser->getGroup(), $subject, $message, $params);
|
$notifier->toGroup($user, $tuser->getGroup(), $subject, $message, $params);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user