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:
mudrd8mz
2009-07-29 16:38:40 +00:00
parent 7dc928b5ff
commit de8a1d1056
+1 -1
View File
@@ -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);
}
}