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

php variable not evaluated in scorm/locallib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1, 1.9
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      Moodle 1.8 + (2007021503)
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      php variable not interpreted in mod/scorm/locallib.php.

      Line 568:

      echo '<input type="hidden" name="scoid" value="$sco->id" />'."\n";

      should be

      echo '<input type="hidden" name="scoid" value="'.$sco->id.'" />'."\n";

        Attachments

          Activity

            People

            Assignee:
            upo Roberto Pinna
            Reporter:
            mscherfling Mark Scherfling
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jun/07