aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-07 00:13:49 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-07 00:13:49 +0200
commit6c01e4e7d6c177ac345c826059e585bffdd1d517 (patch)
tree45bd8ee233a306881ed81447a3f56ca224fed538 /app/layout/layout.phtml
parent2118448133e327294ad2b69ed8736bc29879103d (diff)
Use typed access to request parameters (#5267)
* Use typed access to request parameters This was a big source of mixed datatypes in many places * Fix notifications * Fix bookmarkAction
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index f0ade992f..c8cea2db8 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -55,7 +55,7 @@ if (_t('gen.dir') === 'rtl') {
</head>
<body class="<?= Minz_Request::actionName() ?><?= (FreshRSS_Context::$user_conf->darkMode === 'no') ? '' : ' darkMode_' . FreshRSS_Context::$user_conf->darkMode ?>">
<?php
- if (!Minz_Request::param('ajax')) {
+ if (!Minz_Request::paramBoolean('ajax')) {
flush();
$this->partial('header');
}