mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-52388 output: Only stop displaying pager next link on last page
Thank you to Brenda Uga for working on this.
This commit is contained in:
parent
fed66ad9e2
commit
b31bbcf839
1 changed files with 1 additions and 1 deletions
|
@ -2459,7 +2459,7 @@ class paging_bar implements renderable {
|
|||
|
||||
$pagenum = $this->page + 1;
|
||||
|
||||
if ($pagenum != $displaypage) {
|
||||
if ($pagenum != $lastpage) {
|
||||
$this->nextlink = html_writer::link(new moodle_url($this->baseurl, array($this->pagevar=>$pagenum)), get_string('next'), array('class'=>'next'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue