mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-12 21:55:56 +00:00
Actually, always clean in Handler._param_to_bool()
This commit is contained in:
@@ -31,9 +31,7 @@ class Handler implements IHandler {
|
||||
* @param mixed $p
|
||||
*/
|
||||
protected static function _param_to_bool($p): bool {
|
||||
if (is_string($p)) {
|
||||
$p = clean($p);
|
||||
}
|
||||
$p = clean($p);
|
||||
return $p && ($p !== "f" && $p !== "false");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user