From bc0663abfba7baa454cefcb325a584708e9f0a1c Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 17 Jan 2010 11:01:31 +0000 Subject: [PATCH] MDL-21233 fixed recent regression --- lib/blocklib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocklib.php b/lib/blocklib.php index ce4727911f4..1369c72e084 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -897,7 +897,7 @@ class block_manager { // it is shortened because some web servers (e.g. IIS by default) give // a 'security' error if you try to pass a full URL as a GET parameter in another URL. - $return = $this->out(false); + $return = $this->page->url->out(false); $return = str_replace($CFG->wwwroot . '/', '', $return); $controls[] = array('url' => $CFG->wwwroot . '/' . $CFG->admin .