batch feed editor: silence some more php8.1 undefined field warnings
This commit is contained in:
parent
a16acd65fc
commit
5c0a5da88c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue