mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13241] Correctly ignore announcements from topics list
PHPBB3-13241
This commit is contained in:
parent
82aed75b3b
commit
ae6a3b03c4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue