batch feed editor: silence some more php8.1 undefined field warnings

This commit is contained in:
Andrew Dolgov 2022-12-30 19:10:41 +03:00
parent a16acd65fc
commit 5c0a5da88c
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 3 additions and 3 deletions

View File

@ -703,9 +703,9 @@ class Pref_Feeds extends Handler_Protected {
private function editsaveops(bool $batch): void { private function editsaveops(bool $batch): void {
$feed_title = clean($_POST["title"]); $feed_title = clean($_POST["title"] ?? "");
$feed_url = clean($_POST["feed_url"]); $feed_url = clean($_POST["feed_url"] ?? "");
$site_url = clean($_POST["site_url"]); $site_url = clean($_POST["site_url"] ?? "");
$upd_intl = (int) clean($_POST["update_interval"] ?? 0); $upd_intl = (int) clean($_POST["update_interval"] ?? 0);
$purge_intl = (int) clean($_POST["purge_interval"] ?? 0); $purge_intl = (int) clean($_POST["purge_interval"] ?? 0);
$feed_id = (int) clean($_POST["id"] ?? 0); /* editSave */ $feed_id = (int) clean($_POST["id"] ?? 0); /* editSave */