1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-05 13:47:37 +02:00

Version 1.4.6: Optimize Print, add print button, fix text, update cypress tests

This commit is contained in:
trendschau
2021-06-13 15:43:26 +02:00
parent bc5c0734ff
commit 7da5da93f5
17 changed files with 133 additions and 95 deletions

View File

@@ -62,10 +62,10 @@ class SetupController extends Controller
{
if($request->isPost())
{
if( $request->getattribute('csrf_result') === false )
if( ( null !== $request->getattribute('csrf_result') ) OR ( $request->getattribute('csrf_result') === false ) )
{
$this->c->flash->addMessage('error', 'The form has a timeout, please try again.');
return $response->withRedirect($this->c->router->pathFor('setup.welcome'));
return $response->withRedirect($this->c->router->pathFor('setup.show'));
}
$params = $request->getParams();