Fixed new-chore-form did not work (fixes #68)

This commit is contained in:
Bernd Bestel
2018-09-27 12:54:06 +02:00
parent 003d4a567a
commit b2019ba42d

View File

@@ -49,7 +49,7 @@ class ChoresController extends BaseController
public function ChoreEditForm(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args) 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', [ return $this->AppContainer->view->render($response, 'choreform', [
'periodTypes' => GetClassConstants('\Grocy\Services\ChoresService'), 'periodTypes' => GetClassConstants('\Grocy\Services\ChoresService'),