Фикс комментариев к постам git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@467 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
fly.dvorkin 2012-11-04 16:23:21 +00:00
commit 51045a3583
2 changed files with 3 additions and 3 deletions

View file

@ -56,8 +56,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.5 Beta';
$bb_cfg['tp_release_state'] = 'R466';
$bb_cfg['tp_release_date'] = '25-10-2012';
$bb_cfg['tp_release_state'] = 'R467';
$bb_cfg['tp_release_date'] = '04-11-2012';
// Database
$charset = 'utf8';

View file

@ -1038,7 +1038,7 @@ for($i = 0; $i < $total_posts; $i++)
'POSTER_BIRTHDAY' => ($bb_cfg['birthday_enabled'] && $this_date == $poster_birthday) ? '<img src="'. $images['icon_birthday'] .'" alt="" title="'. $lang['HAPPY_BIRTHDAY'] .'" border="0" />' : '',
'POST_MOD_COMMENT' => ($postrow[$i]['post_mod_comment'] && $postrow[$i]['post_mod_comment_type']) ? $post_mod_comment_html : '',
'POST_MC_BBCODE' => str_replace("\n", '\n', $postrow[$i]['post_mod_comment']),
'POST_MC_BBCODE' => str_replace("\n", '\n', addslashes($postrow[$i]['post_mod_comment'])),
'POST_MC_TYPE' => $postrow[$i]['post_mod_comment_type'],
));