From 07eb36583c69ffaeaf19605bc33f400722da4c8a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Jul 2013 11:57:11 +0400 Subject: [PATCH] lang: default to 'en' --- classes/feeds.php | 2 ++ include/functions.php | 2 ++ 2 files changed, 4 insertions(+) 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"]; -- 2.39.5