From 8fd40d381485fb95f9e34f48d6bc0813942549e1 Mon Sep 17 00:00:00 2001 From: sabelo Date: Mon, 29 Jul 2024 02:23:07 -0300 Subject: [PATCH] fix settings object --- src/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]); });