diff --git a/lib/form/editorhelp.php b/lib/form/editorhelp.php index 2a43afa1723..794e14f5259 100644 --- a/lib/form/editorhelp.php +++ b/lib/form/editorhelp.php @@ -52,7 +52,8 @@ echo ''; print_simple_box_end(); // End of page. close_window_button(); -echo '

'. get_string('helpindex') .'

'; +global $CFG; +echo '

'. get_string('helpindex') .'

'; $CFG->docroot = ''; // We don't want a doc link here print_footer('none');