mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/13241] Correctly ignore announcements from topics list
PHPBB3-13241
This commit is contained in:
@@ -504,8 +504,8 @@ if ($start > $topics_count / 2)
|
|||||||
// Select the sort order
|
// Select the sort order
|
||||||
$direction = (($sort_dir == 'd') ? 'ASC' : 'DESC');
|
$direction = (($sort_dir == 'd') ? 'ASC' : 'DESC');
|
||||||
|
|
||||||
$sql_limit = $pagination->reverse_limit($start, $sql_limit, $topics_count);
|
$sql_limit = $pagination->reverse_limit($start, $sql_limit, $topics_count - sizeof($announcement_list));
|
||||||
$sql_start = $pagination->reverse_start($start, $sql_limit, $topics_count);
|
$sql_start = $pagination->reverse_start($start, $sql_limit, $topics_count - sizeof($announcement_list));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user