mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixed undefined var notice
This commit is contained in:
parent
80743e2a5b
commit
540f964d92
1 changed files with 1 additions and 1 deletions
|
@ -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;";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue