diff --git a/controllers/ChoresController.php b/controllers/ChoresController.php index bf00be23..a52ca74c 100644 --- a/controllers/ChoresController.php +++ b/controllers/ChoresController.php @@ -49,7 +49,7 @@ class ChoresController extends BaseController public function ChoreEditForm(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args) { - if ($args['choredId'] == 'new') + if ($args['choreId'] == 'new') { return $this->AppContainer->view->render($response, 'choreform', [ 'periodTypes' => GetClassConstants('\Grocy\Services\ChoresService'),