summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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"];