From: mudrd8mz Date: Wed, 29 Jul 2009 16:38:40 +0000 (+0000) Subject: MDL-19956 $PAGE->set_url(...) passes the same arguments to the legacy page object X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=de8a1d10566f45973803ccf6b4ee79d53e10ad40;p=moodle.git 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. --- diff --git a/lib/pagelib.php b/lib/pagelib.php index a90578a8e5..5cd170837d 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -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); } }