mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +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
|
||||
$direction = (($sort_dir == 'd') ? 'ASC' : 'DESC');
|
||||
|
||||
$sql_limit = $pagination->reverse_limit($start, $sql_limit, $topics_count);
|
||||
$sql_start = $pagination->reverse_start($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 - sizeof($announcement_list));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user