1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 21:05:57 +00:00

lang: default to 'en'

This commit is contained in:
Andrew Dolgov
2013-07-31 11:57:11 +04:00
parent 6b4617970f
commit 07eb36583c
2 changed files with 4 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ class Feeds extends Handler_Protected {
} }
$reply['content'] .= "</div>"; $reply['content'] .= "</div>";
if (!$line['lang']) $line['lang'] = 'en';
$reply['content'] .= "<div class=\"cdmContentInner\" lang=\"".$line['lang']."\">"; $reply['content'] .= "<div class=\"cdmContentInner\" lang=\"".$line['lang']."\">";
if ($line["orig_feed_id"]) { if ($line["orig_feed_id"]) {

View File

@@ -3293,6 +3293,8 @@
} }
$rv['content'] .= "</div>"; $rv['content'] .= "</div>";
if (!$line['lang']) $line['lang'] = 'en';
$rv['content'] .= "<div class=\"postContent\" lang=\"".$line['lang']."\">"; $rv['content'] .= "<div class=\"postContent\" lang=\"".$line['lang']."\">";
$rv['content'] .= $line["content"]; $rv['content'] .= $line["content"];