mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
always make sure that page param is in the pageurl
This commit is contained in:
parent
81be5cdec3
commit
400edee1ec
1 changed files with 1 additions and 1 deletions
|
@ -109,10 +109,10 @@ class moodle_list{
|
|||
|
||||
if ($pageurl === null){
|
||||
$this->pageurl = new moodle_url();
|
||||
$this->pageurl->params(array($this->pageparamname => $this->page));
|
||||
} else {
|
||||
$this->pageurl = $pageurl;
|
||||
}
|
||||
$this->pageurl->params(array($this->pageparamname => $this->page));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue