X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=blobdiff_plain;f=mod%2Fscorm%2Flib.php;h=143d98b270803fd7f2228f61aaefc097d1a5fd7a;hp=2561b20c7df65d25a667f294951117a83562fae2;hb=dbdc7355598e437e65ba17d59940dcc1ab33e0de;hpb=6ceef54c6e77fc9056881dce3a005a1562a2d02f diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 2561b20c7df..143d98b2708 100644 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -924,7 +924,7 @@ function scorm_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo $fs = get_file_storage(); if (!$file = $fs->get_file_by_hash(sha1($fullpath)) or $file->is_directory()) { if ($filearea === 'content') { //return file not found straight away to improve performance. - header('HTTP/1.0 404 not found'); + send_header_404(); die; } return false;