From: Andrew Dolgov Date: Wed, 31 Jul 2013 07:57:11 +0000 (+0400) Subject: lang: default to 'en' X-Git-Tag: 1.10~58 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=07eb36583c69ffaeaf19605bc33f400722da4c8a;p=tt-rss.git lang: default to 'en' --- diff --git a/classes/feeds.php b/classes/feeds.php index 920bf29f..0849a7a8 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -621,6 +621,8 @@ class Feeds extends Handler_Protected { } $reply['content'] .= ""; + if (!$line['lang']) $line['lang'] = 'en'; + $reply['content'] .= "
"; if ($line["orig_feed_id"]) { diff --git a/include/functions.php b/include/functions.php index 9d14aae7..deeb53bf 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3293,6 +3293,8 @@ } $rv['content'] .= "
"; + if (!$line['lang']) $line['lang'] = 'en'; + $rv['content'] .= "
"; $rv['content'] .= $line["content"];