From: skodak Date: Sun, 8 Oct 2006 08:20:38 +0000 (+0000) Subject: Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0ca30166f3c54415f36c3273143ce5f7dacd4984;p=moodle.git Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer. --- diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index 54f67ad499..aaa7161635 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -351,6 +351,7 @@ function display() { $frameset = optional_param( 'frameset','' ); if (empty($frameset) and !$embedded and !$inpopup and ($resource->options == "frame")) { $encoding = current_charset(); + @header('Content-Type: text/html; charset='.$encoding); echo "\n"; echo "\n"; echo ''; @@ -440,7 +441,7 @@ function display() { echo "

"; echo ''; echo ""; echo '';