From 450522e374097e27cf724209b6f8e0c6473b6ce9 Mon Sep 17 00:00:00 2001 From: jerome Date: Thu, 8 May 2008 02:38:38 +0000 Subject: [PATCH] MDL-12648 Undefined property: stdClass::$wwwroot on popup screen during installation, merged from 19 --- lib/weblib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index c9ef750e9c..ec287ffdf6 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -749,7 +749,7 @@ function close_window_button($name='closewindow', $return=false) { $output = ''; $output .= '
' . "\n"; - $output .= '
'; // We don't use this + $output .= '
'; $output .= ''; $output .= '
'; $output .= '
' . "\n"; @@ -6751,7 +6751,7 @@ function page_doc_link($text='', $iconpath='') { */ function doc_link($path='', $text='', $iconpath='') { global $CFG; - + if (empty($CFG->docroot)) { return ''; } @@ -6769,7 +6769,7 @@ function doc_link($path='', $text='', $iconpath='') { $str = ""; - if (empty($iconpath)) { + if (empty($iconpath)) { $iconpath = $CFG->httpswwwroot . '/pix/docs.gif'; } -- 2.39.5