Moodle
  1. Moodle
  2. MDL-9395

PHP Fatal error: Call to undefined function question_category_options()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      29551

      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=...

        Activity

        Hide
        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
        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: