Browse files

MDL-9741: Fixed broken link on editor help page

  • Loading branch information...
1 parent ebd87f7 commit 0b9a7f7bc6c29137af1f370211ed3c9f49bf9507 sam_marshall committed May 8, 2007
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.