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

Bad typeof test in mod/scorm/module.js

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 2.7.1
    • SCORM
    • MOODLE_27_STABLE

    Description

      On line 460 (https://github.com/moodle/moodle/blob/master/mod/scorm/module.js#L460), we have

      if (typeof result.nextactivity.id != undefined) {

      which always evaluates to true. It should be

      if (typeof result.nextactivity.id != 'undefined') {

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              xiemaisi Max Schaefer
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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