1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

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

View File

@ -835,7 +835,7 @@ class API extends Handler {
} }
function getFeedTree(): bool { 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); $pf = new Pref_Feeds($_REQUEST);