]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14413 - Invalid function name - is_image_by_extentsion in QTI export
authortjhunt <tjhunt>
Tue, 15 Jul 2008 09:18:36 +0000 (09:18 +0000)
committertjhunt <tjhunt>
Tue, 15 Jul 2008 09:18:36 +0000 (09:18 +0000)
question/format/qti_two/qt_common.php

index 10229a2e4af86b04603c87a7d3897c49a88fb100..a94394f3213265aec356456eeb51a0f8b1d8c969 100644 (file)
@@ -37,7 +37,7 @@ function get_course_media_files($courseid)
  * @param string $file the filename
  * @return boolean
  */
-function is_image_by_extentsion($file) {
+function is_image_by_extension($file) {
     $extensionsregex = '/\.(gif|jpg|jpeg|jpe|png|tif|tiff|bmp|xbm|rgb|svf)$/';
     if (preg_match($extensionsregex, $file)) {
         return true;