mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
r313
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@313 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
d3c69fadf2
commit
633fb3b210
3 changed files with 5 additions and 5 deletions
|
@ -127,7 +127,7 @@ class torrent
|
|||
{
|
||||
if (is_string($cur_files_ary))
|
||||
{
|
||||
$this->ajax_die($lang['ERROR_BUILD']);
|
||||
bb_die($lang['ERROR_BUILD']);
|
||||
}
|
||||
$cur_files_ary[] = $this->build_file_item($name, $length);
|
||||
}
|
||||
|
|
|
@ -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'] = 'R312';
|
||||
$bb_cfg['tp_release_state'] = 'R313';
|
||||
$bb_cfg['tp_release_date'] = '13-11-2011';
|
||||
|
||||
// Database
|
||||
|
|
|
@ -370,9 +370,9 @@ $post_order = (isset($_POST['postorder']) && $_POST['postorder'] !== 'asc') ? 'd
|
|||
//
|
||||
// 1. Add first post of topic if it pinned and page of topic not first
|
||||
$first_post = false;
|
||||
if ($t_data['topic_show_first_post'] && ( $start != 0))
|
||||
if ($t_data['topic_show_first_post'] && $start)
|
||||
{
|
||||
$first_post = DB()->fetch_rowset("
|
||||
$first_post = DB()->fetch_row("
|
||||
SELECT
|
||||
u.username, u.user_id, u.user_posts, u.user_from,
|
||||
u.user_regdate, u.user_rank, u.user_sig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue