Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.10
    • Fix Version/s: 1.9.11
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      15389

      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.

        Activity

        Hide
        Eloy Lafuente (stronk7) added a comment -

        Closing as fixed, will move upstream in 24h. Thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Closing as fixed, will move upstream in 24h. Thanks!

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: