Skip to content
Snippets Groups Projects
Commit e7c2cd74 authored by Justus Dieckmann's avatar Justus Dieckmann
Browse files

Bugfix

parent 6fef929a
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ class process_manager { ...@@ -159,7 +159,7 @@ class process_manager {
* @param process $process process the rollback should be triggered for. * @param process $process process the rollback should be triggered for.
*/ */
public static function rollback_process($process) { public static function rollback_process($process) {
for ($i = $process->stepindex - 1; $i >= 1; $i++) { for ($i = $process->stepindex - 1; $i >= 1; $i--) {
$step = step_manager::get_step_instance_by_workflow_index($process->workflowid, $i); $step = step_manager::get_step_instance_by_workflow_index($process->workflowid, $i);
$lib = lib_manager::get_step_lib($step->subpluginname); $lib = lib_manager::get_step_lib($step->subpluginname);
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment