Permalink
Browse files

fixing an instance of hardcoded /admin/

  • Loading branch information...
1 parent 51b0e82 commit ff4bc07f7ec41025a15d3f504ee7895c4f1b51f8 fiedorow committed Dec 31, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/course_summary/block_course_summary.php
@@ -31,7 +31,7 @@ function get_content() {
$this->content->text = format_text($course->summary, FORMAT_HTML, $options);
if(isediting($this->instance->pageid)) {
if($this->instance->pageid == SITEID) {
- $editpage = $CFG->wwwroot.'/admin/site.php';
+ $editpage = $CFG->wwwroot.'/'.$CFG->admin.'/site.php';
} else {
$editpage = $CFG->wwwroot.'/course/edit.php?id='.$this->instance->pageid;
}

0 comments on commit ff4bc07

Please sign in to comment.