Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-9741: Fixed broken link on editor help page

  • Loading branch information...
commit 0b9a7f7bc6c29137af1f370211ed3c9f49bf9507 1 parent ebd87f7
sam_marshall authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/form/editorhelp.php
View
3  lib/form/editorhelp.php
@@ -52,7 +52,8 @@
print_simple_box_end();
// End of page.
close_window_button();
-echo '<p align="center"><a href="help.php?file=index.html">'. get_string('helpindex') .'</a></p>';
+global $CFG;
+echo '<p align="center"><a href="'.$CFG->wwwroot.'/help.php?file=index.html">'. get_string('helpindex') .'</a></p>';
$CFG->docroot = ''; // We don't want a doc link here
print_footer('none');

0 comments on commit 0b9a7f7

Please sign in to comment.
Something went wrong with that request. Please try again.