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() {
|
||||
$feed = clean($_REQUEST['feed']);
|
||||
$cat = clean($_REQUEST['cat']);
|
||||
$cat = clean($_REQUEST['cat'] ?? '');
|
||||
$need_auth = isset($_REQUEST['need_auth']);
|
||||
$login = $need_auth ? clean($_REQUEST['login']) : '';
|
||||
$pass = $need_auth ? clean($_REQUEST['pass']) : '';
|
||||
|
|
Loading…
Reference in New Issue