]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form,...
authorskodak <skodak>
Mon, 25 Feb 2008 20:39:42 +0000 (20:39 +0000)
committerskodak <skodak>
Mon, 25 Feb 2008 20:39:42 +0000 (20:39 +0000)
lib/weblib.php

index 8bfc570bc37f272abb54f8989a5a035e957e34c9..e96ca62287a75ab9825a89555b812f2f06819c99 100644 (file)
@@ -4862,7 +4862,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
 
         if ($usehtmleditor) {
             if (!empty($courseid) and has_capability('moodle/course:managefiles', get_context_instance(CONTEXT_COURSE, $courseid))) {
-                $httpsrequired = empty($HTTPSPAGEREQUIRED) ? '' : '&ampt;httpsrequired=1';
+                $httpsrequired = empty($HTTPSPAGEREQUIRED) ? '' : '&amp;httpsrequired=1';
                 // needed for course file area browsing in image insert plugin
                 $str .= ($scriptcount < 1) ? '<script type="text/javascript" src="'.
                         $CFG->httpswwwroot .'/lib/editor/htmlarea/htmlarea.php?id='.$courseid.$httpsrequired.'"></script>'."\n" : '';