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>";
if (!$line['lang']) $line['lang'] = 'en';
$reply['content'] .= "<div class=\"cdmContentInner\" lang=\"".$line['lang']."\">";
if ($line["orig_feed_id"]) {

View File

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