mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
call getLastWorkflowLog() instead od getWorkflowLog()
This commit is contained in:
parent
f9721da684
commit
375c68e8de
|
@ -80,8 +80,8 @@ $overallStatus = $version->getStatus();
|
|||
if($ret = $version->triggerWorkflowTransition($user, $transition, $_POST["comment"])) {
|
||||
/* $ret is the next state if it was entered otherwise it is just true */
|
||||
if ($notifier) {
|
||||
$wkflog = $version->getWorkflowLog($transition);
|
||||
$notifier->sendTriggerWorkflowTransitionMail($version, $user, $wkflog ? $wkflog[0] : false);
|
||||
$wkflog = $version->getLastWorkflowLog();
|
||||
$notifier->sendTriggerWorkflowTransitionMail($version, $user, $wkflog);
|
||||
|
||||
if(is_object($ret)) {
|
||||
$notifier->sendRequestWorkflowActionMail($version, $user, $transition);
|
||||
|
|
Loading…
Reference in New Issue
Block a user