diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-16 16:43:05 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-16 16:43:05 +0000 |
| commit | 3479343882bd0e9e767723ad6cbd8bc17c156568 (patch) | |
| tree | 0bf682a6ca7d13fb0a4943ec59898ba4d136dcae /phpBB/viewforum.php | |
| parent | dc2cd415d327c50b28182ca76c1ca2956e70a771 (diff) | |
| download | forums-3479343882bd0e9e767723ad6cbd8bc17c156568.tar forums-3479343882bd0e9e767723ad6cbd8bc17c156568.tar.gz forums-3479343882bd0e9e767723ad6cbd8bc17c156568.tar.bz2 forums-3479343882bd0e9e767723ad6cbd8bc17c156568.tar.xz forums-3479343882bd0e9e767723ad6cbd8bc17c156568.zip | |
Fixed spelling error in ANNOUNCEMENT which in caused an incorrect check to occur
git-svn-id: file:///svn/phpbb/trunk@503 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index fd93eca4e4..aec6aaeab0 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -193,12 +193,12 @@ $select_post_days .= "</select>"; // this forum // $sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_username - FROM ".TOPICS_TABLE." t, ".USERS_TABLE." u, ".POSTS_TABLE." p, ".USERS_TABLE." u2 + FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . USERS_TABLE . " u2 WHERE t.forum_id = $forum_id AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND p.poster_id = u2.user_id - AND t.topic_type <> ".GLOB_ANNOUNCE." + AND t.topic_type <> " . POST_GLOBAL_ANNOUNCE . " $limit_posts_time ORDER BY t.topic_type DESC, p.post_time DESC LIMIT $start, ".$board_config['topics_per_page']; |
