http://atutor.ca/atutor/mantis/view.php?id=4499
authorharris wong <hwong@ocad.ca>
Mon, 23 Aug 2010 16:33:07 +0000 (16:33 -0000)
committerharris wong <hwong@ocad.ca>
Mon, 23 Aug 2010 16:33:07 +0000 (16:33 -0000)
docs/mods/_core/imsqti/classes/QTIImport.class.php

index 2a32bdd..4d51824 100644 (file)
@@ -111,7 +111,7 @@ class QTIImport {
                                                continue;
                                        } 
 
-                                       if (in_array($file_pathinfo['extension'], $supported_media_type)){
+                                       if (in_array(strtolower($file_pathinfo['extension']), $supported_media_type)){
                                                //copy medias over.
                                                $this->copyMedia(array($file_name), $xml->items);
                                        }