Fixed undefined variable notice.

This commit is contained in:
vyshane
2006-03-15 08:43:51 +00:00
parent ace6341d83
commit 0e2445d398
+1 -1
View File
@@ -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;";