Skip to content
Snippets Groups Projects
Commit d630a92c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

fix 2 warnings in feed editor

parent 2f8efab2
No related branches found
No related tags found
No related merge requests found
......@@ -996,8 +996,8 @@ class Pref_Feeds extends Handler_Protected {
$feed_title = clean($_POST["title"]);
$feed_url = clean($_POST["feed_url"]);
$site_url = clean($_POST["site_url"]);
$upd_intl = (int) clean($_POST["update_interval"]);
$purge_intl = (int) clean($_POST["purge_interval"]);
$upd_intl = (int) clean($_POST["update_interval"] ?? 0);
$purge_intl = (int) clean($_POST["purge_interval"] ?? 0);
$feed_id = (int) clean($_POST["id"] ?? 0); /* editSave */
$feed_ids = explode(",", clean($_POST["ids"] ?? "")); /* batchEditSave */
$cat_id = (int) clean($_POST["cat_id"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment