Last bug, please?
This commit is contained in:
@@ -153,8 +153,10 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$sql = 'SELECT
|
$sql = 'SELECT
|
||||||
forum_id
|
forum_id
|
||||||
FROM
|
FROM
|
||||||
' . FORUMS_TABLE . '
|
' . FORUMS_TABLE . '
|
||||||
' . ( ( strlen($str_where) > 0 ) ? 'WHERE' . substr($str_where, 4) : '' ) . '
|
WHERE
|
||||||
|
forum_type = ' . FORUM_POST . '
|
||||||
|
' . $str_where . '
|
||||||
ORDER BY
|
ORDER BY
|
||||||
forum_id';
|
forum_id';
|
||||||
$result = $db->sql_query_limit($sql, 1);
|
$result = $db->sql_query_limit($sql, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user