From 2bb14748a7db6b02b2b787c3df0e8ceec620c7dc Mon Sep 17 00:00:00 2001 From: "fly.dvorkin" Date: Sun, 13 Nov 2011 06:30:04 +0000 Subject: [PATCH] r314 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Частичный revert r313 изначально было правильно - rowset git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@314 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/config.php | 2 +- upload/viewtopic.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/config.php b/upload/config.php index 80486a209..60663a9a2 100644 --- a/upload/config.php +++ b/upload/config.php @@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.2 Beta'; -$bb_cfg['tp_release_state'] = 'R313'; +$bb_cfg['tp_release_state'] = 'R314'; $bb_cfg['tp_release_date'] = '13-11-2011'; // Database diff --git a/upload/viewtopic.php b/upload/viewtopic.php index dfc830ea0..1c1c7e2ed 100644 --- a/upload/viewtopic.php +++ b/upload/viewtopic.php @@ -372,7 +372,7 @@ $post_order = (isset($_POST['postorder']) && $_POST['postorder'] !== 'asc') ? 'd $first_post = false; if ($t_data['topic_show_first_post'] && $start) { - $first_post = DB()->fetch_row(" + $first_post = DB()->fetch_rowset(" SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_regdate, u.user_rank, u.user_sig,