From 04b0b11e9766c72bc32762be3a8728b3bccfcdd5 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 16 Jun 2001 22:51:40 +0000 Subject: [PATCH] Changed check against topic_type to match change in constant names git-svn-id: file:///svn/phpbb/trunk@505 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index aec6aaeab0..7986d4abf2 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -296,11 +296,11 @@ if($total_topics) $topic_type = $topic_rowset[$x]['topic_type']; - if($topic_type == ANNOUCE) + if($topic_type == POST_ANNOUNCE) { $topic_type = $lang['Annoucement'] . " "; } - else if($topic_type == STICKY) + else if($topic_type == POST_STICKY) { $topic_type = $lang['Sticky'] . " "; }