Merge branch 'MDL-68427-38' of git://github.com/andrewnicols/moodle into MOODLE_38_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2020-04-30 23:35:23 +02:00
+2 -2
View File
@@ -3092,7 +3092,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)
];
}
@@ -3138,7 +3138,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)
];
}