Фикс обновления тор-статуса с закрыто правообладателем на любой другой git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@284 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-09-04 18:32:50 +00:00
commit 0840e91cb7
3 changed files with 3 additions and 4 deletions

View file

@ -47,7 +47,6 @@ if ($tor['tor_status'] == TOR_CLOSED_CPHOLD)
{
if (!IS_ADMIN) $this->verify_mod_rights($tor['forum_id']);
DB()->query("UPDATE ". BB_TOPICS ." SET topic_status = ". TOPIC_UNLOCKED ." WHERE topic_id = {$tor['topic_id']} LIMIT 1");
$new_status = TOR_NOT_APPROVED;
}
else
{

View file

@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.1 Stable';
$bb_cfg['tp_release_state'] = 'R283';
$bb_cfg['tp_release_state'] = 'R284';
$bb_cfg['tp_release_date'] = '04-09-2011';
// Database

View file

@ -799,8 +799,8 @@ table.topic { width: 100%; }
.tor-dup { padding-left: 1px; color: #0000FF; font-weight: bold; }
.tor-need-edit { color: #FF0000; font-weight: bold; }
.tor-no-desc { padding-left: 1px; color: #FF4500; font-weight: bold; }
.tor-not-approved { color: #C71585; }
.tor-checking { color: #2424FF; }
.tor-not-approved { color: #C71585; font-weight: bold; }
.tor-checking { color: #2424FF; font-weight: bold; }
/* ---------------------------------- *
Attachments