Loading ckeditor.module +1 −1 Changes for ckeditor.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -722,7 +722,7 @@ function ckeditor_file_download($uri) { //check if file can be served by comparing regex and path to file if (preg_match($regex, $path)) { $info = image_get_info($uri); return array('Content-Type' => $info['mime_type']); return !empty($info['mime_type']) ? array('Content-Type' => $info['mime_type']) : NULL; } } } Loading Loading
ckeditor.module +1 −1 Changes for ckeditor.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -722,7 +722,7 @@ function ckeditor_file_download($uri) { //check if file can be served by comparing regex and path to file if (preg_match($regex, $path)) { $info = image_get_info($uri); return array('Content-Type' => $info['mime_type']); return !empty($info['mime_type']) ? array('Content-Type' => $info['mime_type']) : NULL; } } } Loading