- call out.WorkflowMgr.php with the right workflow id after adding a new

workflow.
- fixed logging
This commit is contained in:
steinm 2013-01-25 07:24:08 +00:00
parent 005c67da43
commit 36ee41e2c5

View File

@ -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"));