mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/13241] Correctly ignore announcements from topics list
PHPBB3-13241
This commit is contained in:
parent
82aed75b3b
commit
ae6a3b03c4
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user