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

stop accepting arrays in required_param() and optional_param()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.2
    • 2.2
    • General

    Description

      This is a old hack, I should have protested when this was proposed. This can interfere with our DB layer and other parts of moodle, it may create random errors...
      Solution is to add one more optional parameter or different functions.

      We can not forbid it in stable because some parts rely on it...

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11