add fallback for feed_language on edit-feed-saving

Feed_language is only included in the form if running on pgsql, failing
the not null constraint on mysql setups.
This commit is contained in:
Frenck Lutke 2021-02-25 12:06:25 +01:00
parent c70fc68012
commit 2f2642bbd4
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ class Pref_Feeds extends Handler_Protected {
$mark_unread_on_update = checkbox_to_sql_bool(
clean($_POST["mark_unread_on_update"] ?? ""));
$feed_language = clean($_POST["feed_language"]);
$feed_language = clean($_POST["feed_language"] ?? "");
if (!$batch) {