Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3509

Pcast scale used anywhere has incorrect parameter passed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.1, 2.2
    • Module: Pcast
    • None
    • Hide

      Until an official fix, the pcast module can be disabled which resolves the Grade error. Or applying the patch above will ensure the module can be kept enabled and Grade used.

      Show
      Until an official fix, the pcast module can be disabled which resolves the Grade error. Or applying the patch above will ensure the module can be kept enabled and Grade used.
    • MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE

    Description

      The pcast_scale_used_anywhere() function on line 490 of /mod/pcast/lib.php incorrectly passes $scaleid and causes the /grade/edit/scale/index.php page to break.
      It should be passed as an array of parameters, and also "grade" should be "scale".

      Attached is a patch which fixes the above issue.

      Attachments

        1. patch.txt
          0.4 kB
        2. patch.txt
          0.4 kB

        Activity

          People

            sbourget Stephen Bourget
            fgasking Frank Gasking
            Stephen Bourget
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Jul/11