mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- call out.WorkflowMgr.php with the right workflow id after adding a new
workflow. - fixed logging
This commit is contained in:
parent
005c67da43
commit
36ee41e2c5
|
@ -62,7 +62,9 @@ if ($action == "addworkflow") {
|
|||
if (!$newWorkflow) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||
}
|
||||
|
||||
|
||||
$workflowid = $newWorkflow->getID();
|
||||
|
||||
add_log_line(".php&action=addworkflow&name=".$name);
|
||||
}
|
||||
|
||||
|
@ -128,7 +130,7 @@ else if ($action == "editworkflow") {
|
|||
if ($editedWorkflow->getInitState()->getID() != $state->getID())
|
||||
$editedWorkflow->setInitState($state);
|
||||
|
||||
add_log_line(".php&action=editworkflow&workflowid=".$workflow);
|
||||
add_log_line(".php&action=editworkflow&workflowid=".$workflowid);
|
||||
|
||||
}
|
||||
else UI::exitError(getMLText("admin_tools"),getMLText("unknown_command"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user