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

invalid default_questiontype::save_question call in calculatedsimple question

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.4, 2.1
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE

      Description

      save_question is using $this it means it can not be called statically!

      function save_question($question, $form, $course)

      { $question = default_questiontype::save_question($question, $form, $course); return $question; }

        Attachments

          Activity

            People

            Assignee:
            ppichet Pierre Pichet
            Reporter:
            skodak Petr Skoda
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Jul/11