From 0e2445d398a9a79c88e73db28069e7ee63fbeb9a Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 15 Mar 2006 08:43:51 +0000 Subject: [PATCH] Fixed undefined variable notice. --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index da9ebd0e4d5..a23cfc7d50f 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3110,7 +3110,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;";