recent.php: f=0 fix, wrong constant

functions.php: use a constant
This commit is contained in:
Ice
2008-08-12 00:30:57 +00:00
parent 336a4ef10e
commit 5ffd76aa65
2 changed files with 20 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
'WHERE' => $topic_type . '
' . $post_time . '
AND t.topic_status <> 2
AND t.topic_status <> ' . ITEM_MOVED . '
AND t.topic_approved = 1
AND t.topic_moved_id = 0
' . $str_where,