|
@@ -67,7 +67,7 @@ discard block |
|
|
block discarded – undo |
|
67
|
67
|
throw new HttpNotFoundException(I18N::translate('The attached module could not be found.')); |
|
68
|
68
|
} |
|
69
|
69
|
|
|
70
|
|
- $task_sched_id = (int) $request->getAttribute('task'); |
|
|
70
|
+ $task_sched_id = (int)$request->getAttribute('task'); |
|
71
|
71
|
$task_schedule = $this->taskschedules_service->find($task_sched_id); |
|
72
|
72
|
|
|
73
|
73
|
if ($task_schedule === null) { |
|
@@ -83,9 +83,9 @@ discard block |
|
|
block discarded – undo |
|
83
|
83
|
/** @var TaskInterface&ConfigurableTaskInterface $task */ |
|
84
|
84
|
$has_task_config = $task instanceof ConfigurableTaskInterface; |
|
85
|
85
|
|
|
86
|
|
- return $this->viewResponse($this->module->name() . '::admin/tasks-edit', [ |
|
|
86
|
+ return $this->viewResponse($this->module->name().'::admin/tasks-edit', [ |
|
87
|
87
|
'module' => $this->module, |
|
88
|
|
- 'title' => I18N::translate('Edit the administrative task') . ' - ' . $task->name(), |
|
|
88
|
+ 'title' => I18N::translate('Edit the administrative task').' - '.$task->name(), |
|
89
|
89
|
'task_schedule' => $task_schedule, |
|
90
|
90
|
'task' => $task, |
|
91
|
91
|
'has_task_config' => $has_task_config, |
Please login to merge, or discard this patch.