From de8a1d10566f45973803ccf6b4ee79d53e10ad40 Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Wed, 29 Jul 2009 16:38:40 +0000 Subject: [PATCH] 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. --- lib/pagelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pagelib.php b/lib/pagelib.php index a90578a8e5e..5cd170837d8 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); } }