aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-20 13:20:18 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-20 13:20:18 +0000
commit587ec3fa77d90819148cdeda2b490bbf82632114 (patch)
tree00c7e1366b4ba97e29b2bd45067ec7ee2a5d35de
parentb7dab9cdab72b6463121856d26dcfea0eb0df376 (diff)
downloadforums-587ec3fa77d90819148cdeda2b490bbf82632114.tar
forums-587ec3fa77d90819148cdeda2b490bbf82632114.tar.gz
forums-587ec3fa77d90819148cdeda2b490bbf82632114.tar.bz2
forums-587ec3fa77d90819148cdeda2b490bbf82632114.tar.xz
forums-587ec3fa77d90819148cdeda2b490bbf82632114.zip
#4406
git-svn-id: file:///svn/phpbb/trunk@6382 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 8e7edea1e2..217befd5fa 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -652,7 +652,7 @@ function topic_status(&$topic_row, $replies, $unread_topic, &$folder_img, &$fold
$folder = 'topic_read';
$folder_new = 'topic_unread';
- if ($config['hot_threshold'] && $replies >= $config['hot_threshold'])
+ if ($config['hot_threshold'] && $replies >= $config['hot_threshold'] && $topic_row['topic_status'] != ITEM_LOCKED)
{
$folder .= '_hot';
$folder_new .= '_hot';