Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14413

Invalid function name - is_image_by_extentsion in QTI export

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8, 1.9
    • 1.8.7, 1.9.3
    • Questions
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      There seems to be a write error in the name of a function in
      question/format/qti2/qt_common.php

      Line 40 is:
      function is_image_by_extentsion($file)

      but should be:
      function is_image_by_extension($file)

      I get the following error with drag and drop questiontype which uses this function:
      Fatal error: Call to undefined function is_image_by_extension() in question/type/dragdrop/questiontype.php on line 436

      Attachments

        Activity

          People

            timhunt Tim Hunt
            harry21 Harald Winkelmann
            Petr Skoda Petr Skoda
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08