Skip to content
Snippets Groups Projects
Commit ed57348b authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #20391 TIME 0 add bool cast

parent d07d21c2
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,7 @@ class IndexingController
}
$delay = $priority['delays'];
}
if (Validator::boolType()->notEmpty()->validate($queryParams['today'] ?? false)) {
if (Validator::boolType()->notEmpty()->validate((bool) $queryParams['today'] ?? false)) {
$delay = 0;
}
if (!Validator::intVal()->validate($delay)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment