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:
commit
5fea1a7ea9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue