From 34b72bddab049ede0a698ddb34f49b0cb87af898 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 May 2009 18:56:34 +0000 Subject: [PATCH] MDL-13766 fixed htts detection logic bug --- lib/editor/tinymce/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5