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:
parent
c70fc68012
commit
2f2642bbd4
|
@ -710,7 +710,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
$mark_unread_on_update = checkbox_to_sql_bool(
|
$mark_unread_on_update = checkbox_to_sql_bool(
|
||||||
clean($_POST["mark_unread_on_update"] ?? ""));
|
clean($_POST["mark_unread_on_update"] ?? ""));
|
||||||
|
|
||||||
$feed_language = clean($_POST["feed_language"]);
|
$feed_language = clean($_POST["feed_language"] ?? "");
|
||||||
|
|
||||||
if (!$batch) {
|
if (!$batch) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue