mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 23:11:29 +00:00
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:
@@ -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) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user