Fixed undefined var notice
This commit is contained in:
+1
-1
@@ -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;";
|
||||
|
||||
Reference in New Issue
Block a user