mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Fixed new-chore-form did not work (fixes #68)
This commit is contained in:
@@ -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'),
|
||||||
|
Reference in New Issue
Block a user