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

Notice in scorm module report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.10
    • 1.9.11
    • SCORM
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Notice in scorm report...

      Notice: Undefined property: stdClass::$type in /path/to/moodle/mod/scorm/locallib.php on line 448

      This code:

      if (!empty($userdata->score_raw) || ($scorm->type=='sco' && isset($userdata->score_raw))) {
      $attemptscore->values++;
      $attemptscore->sum += $userdata->score_raw;

      appears to be possible that the type is not set.

      Attachments

        Activity

          People

            danmarsden Dan Marsden
            howardsmiller Howard Miller
            Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21/Feb/11