mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
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
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user