diff --git a/library/includes/functions_post.php b/library/includes/functions_post.php
index 82ebc720..264f2fde 100644
--- a/library/includes/functions_post.php
+++ b/library/includes/functions_post.php
@@ -508,7 +508,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
function topic_review ($topic_id)
{
- global $bb_cfg, $template;
+ global $bb_cfg, $template, $lang;
// Fetch posts data
$review_posts = DB()->fetch_rowset("
@@ -531,7 +531,7 @@ function topic_review ($topic_id)
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POSTER' => profile_url($post),
'POSTER_NAME_JS' => addslashes($post['username']),
- 'POST_DATE' => bb_date($post['post_time'], $bb_cfg['post_date_format']),
+ 'POST_DATE' => '' . bb_date($post['post_time'], $bb_cfg['post_date_format']) . '',
'MESSAGE' => get_parsed_post($post),
));
}
diff --git a/posting.php b/posting.php
index c3ab066a..6b8aa33a 100644
--- a/posting.php
+++ b/posting.php
@@ -316,7 +316,7 @@ if (!IS_GUEST && $mode != 'newtopic' && ($submit || $preview || $mode == 'quote'
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POSTER' => profile_url($row),
'POSTER_NAME_JS' => addslashes($row['username']),
- 'POST_DATE' => bb_date($row['post_time'], $bb_cfg['post_date_format']),
+ 'POST_DATE' => '' . bb_date($row['post_time'], $bb_cfg['post_date_format']) . '',
'MESSAGE' => get_parsed_post($row),
));
}