diff --git a/modules/core/templates/no_cookie.tpl.php b/modules/core/templates/no_cookie.tpl.php index bec98bdee54a17b61a0e88d33d587d6c4eca46c8..40337a6d78371593d96629d11e417b0d3db26e82 100644 --- a/modules/core/templates/no_cookie.tpl.php +++ b/modules/core/templates/no_cookie.tpl.php @@ -10,13 +10,13 @@ $retry = htmlspecialchars($this->t('{core:no_cookie:retry}')); $this->data['header'] = $header; $this->includeAtTemplateBase('includes/header.php'); -echo('<h2>' . $header . '</h2>'); -echo('<p>' . $description . '</p>'); +echo('<h2>'.$header.'</h2>'); +echo('<p>'.$description.'</p>'); -if ($retryURL !== NULL) { - echo('<ul>'); - echo('<li><a href="' . htmlspecialchars($retryURL) . '" id="retry">' . $retry . '</a></li>'); - echo('</ul>'); +if ($retryURL !== null) { + echo('<ul>'); + echo('<li><a href="'.htmlspecialchars($retryURL).'" id="retry">'.$retry.'</a></li>'); + echo('</ul>'); } $this->includeAtTemplateBase('includes/footer.php'); diff --git a/modules/core/www/no_cookie.php b/modules/core/www/no_cookie.php index c9d8a06c5a4e535d9d94c9e4b6aaaec2e99a89cb..46e67a579909bcb345a2fa752752912fc3b43dff 100644 --- a/modules/core/www/no_cookie.php +++ b/modules/core/www/no_cookie.php @@ -1,10 +1,10 @@ <?php if (isset($_REQUEST['retryURL'])) { - $retryURL = (string)$_REQUEST['retryURL']; - $retryURL = \SimpleSAML\Utils\HTTP::checkURLAllowed($retryURL); + $retryURL = (string) $_REQUEST['retryURL']; + $retryURL = \SimpleSAML\Utils\HTTP::checkURLAllowed($retryURL); } else { - $retryURL = NULL; + $retryURL = null; } $globalConfig = SimpleSAML_Configuration::getInstance();