diff --git a/module/task/control.php b/module/task/control.php index ce193d98ed..00ac84bcce 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -676,7 +676,7 @@ class task extends control /* Set menu. */ $execution = $this->execution->getById($task->execution); - $this->execution->setMenu($this->execution->getPairs(), $execution->id); + $this->execution->setMenu($execution->id); $this->executeHooks($taskID);