MDL-19956 $PAGE->set_url(...) passes the same arguments to the legacy page object
Credit goes to Tim Hunt, thanks for explaining this to me.
This commit is contained in:
+1
-1
@@ -739,7 +739,7 @@ class moodle_page {
|
||||
$this->initialise_default_pagetype($shorturl);
|
||||
}
|
||||
if (!is_null($this->_legacypageobject)) {
|
||||
$this->_legacypageobject->set_url($shorturl, $params);
|
||||
$this->_legacypageobject->set_url($url, $params);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user