Fixed undefined var notice

This commit is contained in:
vyshane 2006-03-15 08:40:56 +00:00
parent 80743e2a5b
commit 540f964d92

View file

@ -3236,7 +3236,7 @@ function use_html_editor($name='', $editorhidebuttons='') {
function print_editor_config($editorhidebuttons='', $return=false) { function print_editor_config($editorhidebuttons='', $return=false) {
global $CFG; global $CFG;
$str .= "config.pageStyle = \"body {"; $str = "config.pageStyle = \"body {";
if (!(empty($CFG->editorbackgroundcolor))) { if (!(empty($CFG->editorbackgroundcolor))) {
$str .= " background-color: $CFG->editorbackgroundcolor;"; $str .= " background-color: $CFG->editorbackgroundcolor;";