Moodle
  1. Moodle
  2. MDL-9562

php variable not evaluated in scorm/locallib.php

    Details

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

      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";

        Activity

        Hide
        Roberto Pinna added a comment -

        Fixed.

        Bobo.

        Show
        Roberto Pinna added a comment - Fixed. Bobo.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: