From 540f964d92094027038ca2320de35b95ee33b53e Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 15 Mar 2006 08:40:56 +0000 Subject: [PATCH] Fixed undefined var notice --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 54ac3ecce4..89b530b7c9 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3236,7 +3236,7 @@ function use_html_editor($name='', $editorhidebuttons='') { function print_editor_config($editorhidebuttons='', $return=false) { global $CFG; - $str .= "config.pageStyle = \"body {"; + $str = "config.pageStyle = \"body {"; if (!(empty($CFG->editorbackgroundcolor))) { $str .= " background-color: $CFG->editorbackgroundcolor;"; -- 2.39.5