]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed undefined var notice
authorvyshane <vyshane>
Wed, 15 Mar 2006 08:40:56 +0000 (08:40 +0000)
committervyshane <vyshane>
Wed, 15 Mar 2006 08:40:56 +0000 (08:40 +0000)
lib/weblib.php

index 54ac3ecce4588e6cd0447c625ea1eaec7906c801..89b530b7c9d264d0fe7ebd17315bfad44d9a472c 100644 (file)
@@ -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;";