mirror of
https://github.com/grocy/grocy.git
synced 2026-04-03 19:36:16 +02:00
Fixed new-chore-form did not work (fixes #68)
This commit is contained in:
parent
003d4a567a
commit
b2019ba42d
|
|
@ -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'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user