From e1d43b2303158b7c1e079b13b7a96899e22d6cea Mon Sep 17 00:00:00 2001 From: pherum83 Date: Wed, 2 May 2012 20:14:59 +0000 Subject: [PATCH] r409 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit пропустил переменную git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@409 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/ajax/change_tor_status.php | 2 +- upload/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/ajax/change_tor_status.php b/upload/ajax/change_tor_status.php index a03598dfc..8fff46e7d 100644 --- a/upload/ajax/change_tor_status.php +++ b/upload/ajax/change_tor_status.php @@ -80,7 +80,7 @@ switch($mode) { $subject = sprintf($lang['TOR_MOD_TITLE'], $topic_title); $message = sprintf($lang['TOR_MOD_MSG'], get_username($tor['poster_id']), make_url(TOPIC_URL . $tor['topic_id']), $bb_cfg['tor_icons'][$new_status] .' '.$lang['TOR_STATUS_NAME'][$new_status]); - if($comment != $lang['COMMENT']) $message .= "\n\n[b]". $lang['COMMENT'] .'[/b]: '. $comment; + if($comment && $comment != $lang['COMMENT']) $message .= "\n\n[b]". $lang['COMMENT'] .'[/b]: '. $comment; send_pm($tor['poster_id'], $subject, $message, $userdata['user_id']); diff --git a/upload/config.php b/upload/config.php index 3da16c49d..f02a54691 100644 --- a/upload/config.php +++ b/upload/config.php @@ -52,7 +52,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.5 Beta'; -$bb_cfg['tp_release_state'] = 'R408'; +$bb_cfg['tp_release_state'] = 'R409'; $bb_cfg['tp_release_date'] = '02-05-2012'; // Database