fix settings object
This commit is contained in:
parent
628a7a9712
commit
8fd40d3814
@ -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
|
||||
]);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user