From be3c7c8accf50d5c24bce8620b6f647ec4be0b85 Mon Sep 17 00:00:00 2001 From: nanosimbiot Date: Sun, 24 Jul 2011 15:56:24 +0000 Subject: [PATCH] r140 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@140 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/ajax/posts.php | 2 +- upload/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/ajax/posts.php b/upload/ajax/posts.php index 249e42cf4..16296a1be 100644 --- a/upload/ajax/posts.php +++ b/upload/ajax/posts.php @@ -286,7 +286,7 @@ switch($this->request['type']) $post_id = DB()->sql_nextid(); DB()->sql_query("INSERT INTO " . BB_POSTS_TEXT . " (post_id, post_text) VALUES ($post_id, '". DB()->escape($message) ."')"); - update_post_stats('', $t_data, $t_data['forum_id'], $topic_id, $post_id, $userdata['user_id']); + update_post_stats('reply', $t_data, $t_data['forum_id'], $topic_id, $post_id, $userdata['user_id']); add_search_words($post_id, stripslashes($message), stripslashes($t_data['topic_title'])); update_post_html(array( diff --git a/upload/config.php b/upload/config.php index 2e144c542..c912599b6 100644 --- a/upload/config.php +++ b/upload/config.php @@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1; // Increase number of revision after update $bb_cfg['tp_version'] = '2.0.2'; -$bb_cfg['tp_release_state'] = 'TP II r138'; +$bb_cfg['tp_release_state'] = 'TP II r140'; $bb_cfg['tp_release_date'] = '24-07-2011'; $bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger