1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 09:55:33 +02:00

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

@ -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);
}
}