Skip to content

Commit

Permalink
MDL-21369 fixed regression, thanks Mark Johnson
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jan 18, 2010
1 parent 7fde1e4 commit 24e4119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocklib.php
Expand Up @@ -1066,7 +1066,7 @@ public function process_url_edit() {
$editpage->set_pagelayout('base');
$editpage->set_course($this->page->course);
$editpage->set_context($block->context);
$editurlbase = str_replace($CFG->wwwroot . '/', '', $this->page->url->out_omit_querystring());
$editurlbase = str_replace($CFG->wwwroot . '/', '/', $this->page->url->out_omit_querystring());
$editurlparams = $this->page->url->params();
$editurlparams['bui_editid'] = $blockid;
$editpage->set_url($editurlbase, $editurlparams);
Expand Down

0 comments on commit 24e4119

Please sign in to comment.