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

Question engine depends on filelib.php, but does not include it

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.5, 2.5.1
    • 2.4.6, 2.5.2
    • Questions

    Description

      This can lead to fatal errors like

      PHP Fatal error: Call to undefined function file_prepare_draft_area() in ...

      when displaying questions. We should add that require_once to questionlib.php.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Damyon Wiese Damyon Wiese
              Rajesh Taneja Rajesh Taneja
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/13