Fix PHP8 empty param problem
This commit is contained in:
parent
c0e77241d3
commit
f490bdd17a
|
@ -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