From: vyshane Date: Wed, 15 Mar 2006 08:40:56 +0000 (+0000) Subject: Fixed undefined var notice X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=540f964d92094027038ca2320de35b95ee33b53e;p=moodle.git Fixed undefined var notice --- 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;";