mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-21233 fixed recent regression
This commit is contained in:
parent
5509254c25
commit
bc0663abfb
1 changed files with 1 additions and 1 deletions
|
@ -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 .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue