feed editor: use DEFAULT_SEARCH_LANGUAGE as a default per-feed dropdown value
This commit is contained in:
parent
c936cc3a1f
commit
ed22473272
|
@ -595,6 +595,9 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
if (DB_TYPE == "pgsql") {
|
if (DB_TYPE == "pgsql") {
|
||||||
$feed_language = $row["feed_language"];
|
$feed_language = $row["feed_language"];
|
||||||
|
|
||||||
|
if (!$feed_language)
|
||||||
|
$feed_language = get_pref('DEFAULT_SEARCH_LANGUAGE');
|
||||||
|
|
||||||
print "<fieldset>";
|
print "<fieldset>";
|
||||||
|
|
||||||
print "<label>" . __('Language:') . "</label> ";
|
print "<label>" . __('Language:') . "</label> ";
|
||||||
|
|
Loading…
Reference in New Issue