Skip to content
Browse files

"MDL-8677, fixed mimetype name"

  • Loading branch information...
1 parent f9c229e commit deacd770bd23e9c6c65ab225fccc2f484139630d @dcai dcai committed Nov 25, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/resource/type/file/resource.class.php
View
6 mod/resource/type/file/resource.class.php
@@ -267,11 +267,11 @@ function display() {
$resourcetype = "pdf";
//no need embedded, html file types behave like unknown file type
- } else if ($mimetype == "audio/x-pn-realaudio") { // It's a realmedia file
+ } else if ($mimetype == "audio/x-pn-realaudio-plugin") { // It's a realmedia file
$resourcetype = "rm";
$embedded = true;
- }
- }
+ }
+ }
$isteamspeak = (stripos($resource->reference, 'teamspeak://') === 0);

0 comments on commit deacd77

Please sign in to comment.
Something went wrong with that request. Please try again.