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

Pcast scale used anywhere has incorrect parameter passed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1, 2.2
    • 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.