Index: weblib.php =================================================================== RCS file: /cvsroot/moodle/moodle/lib/weblib.php,v retrieving revision 1.970.2.85 diff -u -r1.970.2.85 weblib.php --- weblib.php 2 May 2008 16:14:11 -0000 1.970.2.85 +++ weblib.php 7 May 2008 02:04:12 -0000 @@ -812,7 +812,7 @@ $output = ''; $output .= '
' . "\n"; - $output .= '
'; // We don't use this + $output .= '
'; $output .= ''; $output .= '
'; $output .= '
' . "\n"; @@ -6783,7 +6783,7 @@ */ function doc_link($path='', $text='', $iconpath='') { global $CFG; - + if (empty($CFG->docroot)) { return ''; } @@ -6797,7 +6797,7 @@ $str = ''; - if (empty($iconpath)) { + if (empty($iconpath)) { $iconpath = $CFG->httpswwwroot . '/pix/docs.gif'; }