summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-31 11:57:11 +0400
committerAndrew Dolgov <[email protected]>2013-07-31 11:57:11 +0400
commit07eb36583c69ffaeaf19605bc33f400722da4c8a (patch)
tree018cb9791337c905e1dea96e4bdd2181f84452df /include
parent6b4617970f2c25ac852daab873f5374d611d5b7e (diff)
lang: default to 'en'
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 9d14aae7a..deeb53bf1 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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"];