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

Quiz wrong function parameters forum_add_discussion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      In forum_add_instance (line 77), there is a call to forum_add_discussion which gives only 2 params where 3 are required, and the 2nd of which is the discussion intro where it should be a moodle form. Somehow this doesn't seem to break anything when creating new forums, but the code is wrong all the same and it does break when I generate forums with a script.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nicolasconnault Nicolas Connault
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: