From: skodak Date: Mon, 25 Feb 2008 20:39:42 +0000 (+0000) Subject: MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form,... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=183f9cc99c1f805b39e17df2958f4c9aeeb43c96;p=moodle.git MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_19_SATBLE --- diff --git a/lib/weblib.php b/lib/weblib.php index 8bfc570bc3..e96ca62287 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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) ? '' : '&t;httpsrequired=1'; + $httpsrequired = empty($HTTPSPAGEREQUIRED) ? '' : '&httpsrequired=1'; // needed for course file area browsing in image insert plugin $str .= ($scriptcount < 1) ? ''."\n" : '';