Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20169 require parameter type in optional_param() and required_param()
  3. MDL-20176

wrong use of optional_param() in calculatedsimple question tpye

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 2.0
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I do not know who is responsible for this, but the sloppy use of optional_param() without parameter type needs to be fixed immediately, I am going to commit a codeing exception if somebody forgets to specify the parameter - this code is going to stop working completely. Please fix asap.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10