Merge branch 'MDL-68427-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2020-04-30 23:35:09 +02:00
+2 -2
View File
@@ -3093,7 +3093,7 @@ class paging_bar implements renderable, templatable {
if ($this->page > 0) {
$data->previous = [
'page' => $this->page - 1,
'page' => $this->page,
'url' => (new moodle_url($this->baseurl, [$this->pagevar => $this->page - 1]))->out(false)
];
}
@@ -3139,7 +3139,7 @@ class paging_bar implements renderable, templatable {
if ($this->page + 1 != $lastpage) {
$data->next = [
'page' => $this->page + 1,
'page' => $this->page + 2,
'url' => (new moodle_url($this->baseurl, [$this->pagevar => $this->page + 1]))->out(false)
];
}