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

PHP Fatal error: Call to undefined function question_category_options()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.3
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      This error has been introduced by closing MDL-9123 in file export.php ($Id: export.php,v 1.22.2.4 2007/04/11 12:21:56 thepurpleblob Exp $ ). It relies on a function that is defined in Moodle 1.8 and not in Moodle 1.7.2+.

      PHP Fatal error: Call to undefined function question_category_options() in ...../moodle/question/export.php on line 72, referer: http://....../moodle/question/edit.php?courseid=...

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            howardsmiller Howard Miller added a comment -

            Whoops!

            Modified question_category_select_menu so that it can return the list of categories without displaying them and used that instead.

            Show
            howardsmiller Howard Miller added a comment - Whoops! Modified question_category_select_menu so that it can return the list of categories without displaying them and used that instead.

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Oct/07