diff --git a/src/routes.php b/src/routes.php index 6825478..1717819 100644 --- a/src/routes.php +++ b/src/routes.php @@ -23,7 +23,7 @@ $app->get('/registration', function (Request $request, Response $response, array } return $view->render($response, 'registration.html', [ - 'closed' => $this->settings['close_registration'], + 'closed' => $this->get('settings')['close_registration'], 'sitekey' => $recapsitekey ]); });