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

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);