From e52ba893e94256a9dcda9726ec6910e8efa3b661 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 01:48:22 +0000 Subject: [PATCH] fix tests --- Controller/ApiController.php | 4 +--- Theme/Backend/report-view.tpl.php | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 09c0178..17cc575 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -105,9 +105,7 @@ final class ApiController extends Controller $task->type = TaskType::HIDDEN; $task->unit ??= $this->app->unitId; - $report = new Report($task); - - return $report; + return new Report($task); } /** diff --git a/Theme/Backend/report-view.tpl.php b/Theme/Backend/report-view.tpl.php index 27c0219..ff64194 100644 --- a/Theme/Backend/report-view.tpl.php +++ b/Theme/Backend/report-view.tpl.php @@ -37,17 +37,17 @@ echo $this->data['nav']->render(); ?>
- > + >
- > + >
- > + >