Fix PHP8 empty param problem

This commit is contained in:
powerivq 2022-08-31 00:36:49 -07:00
parent c0e77241d3
commit f490bdd17a
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);