Merge pull request 'Fix PHP8 empty param warning' (#79) from powerivq/tt-rss:php8compat into master

Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/79
This commit is contained in:
fox 2022-08-31 18:50:39 +03:00
commit 5fea1a7ea9
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ class API extends Handler {
}
function getFeedTree(): bool {
$include_empty = self::_param_to_bool(clean($_REQUEST['include_empty']));
$include_empty = self::_param_to_bool($_REQUEST['include_empty'] ?? false);
$pf = new Pref_Feeds($_REQUEST);