Skip to content

Commit

Permalink
Fixed undefined variable notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshane committed Mar 15, 2006
1 parent ace6341 commit 0e2445d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Expand Up @@ -3110,7 +3110,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;";
Expand Down

0 comments on commit 0e2445d

Please sign in to comment.