From: skodak Date: Sun, 17 May 2009 18:56:34 +0000 (+0000) Subject: MDL-13766 fixed htts detection logic bug X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=34b72bddab049ede0a698ddb34f49b0cb87af898;p=moodle.git MDL-13766 fixed htts detection logic bug --- diff --git a/lib/editor/tinymce/lib.php b/lib/editor/tinymce/lib.php index 4f55349280..b915313062 100644 --- a/lib/editor/tinymce/lib.php +++ b/lib/editor/tinymce/lib.php @@ -61,7 +61,7 @@ class tinymce_texteditor extends texteditor { public function header_js() { global $CFG; - $usehttps = (int)($CFG->httpswwwroot === $CFG->wwwroot); //hmm, is there a better test? + $usehttps = (int)($CFG->httpswwwroot !== $CFG->wwwroot); //hmm, is there a better test? $js = ''."\n". ''."\n";