feeds/add: hide php8 warning
This commit is contained in:
parent
78a7b3642f
commit
cf5c7c4f29
|
@ -963,7 +963,7 @@ class Feeds extends Handler_Protected {
|
||||||
|
|
||||||
function add() {
|
function add() {
|
||||||
$feed = clean($_REQUEST['feed']);
|
$feed = clean($_REQUEST['feed']);
|
||||||
$cat = clean($_REQUEST['cat']);
|
$cat = clean($_REQUEST['cat'] ?? '');
|
||||||
$need_auth = isset($_REQUEST['need_auth']);
|
$need_auth = isset($_REQUEST['need_auth']);
|
||||||
$login = $need_auth ? clean($_REQUEST['login']) : '';
|
$login = $need_auth ? clean($_REQUEST['login']) : '';
|
||||||
$pass = $need_auth ? clean($_REQUEST['pass']) : '';
|
$pass = $need_auth ? clean($_REQUEST['pass']) : '';
|
||||||
|
|
Loading…
Reference in New Issue