Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

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

            Show
            stronk7 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:
                  Fix Release Date:
                  21/Feb/11