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

rubbish in scorm/locallib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      this code is in locallib.php hidden in between functions and shouldn't be there as it isn't inside a function! - only appears in 1.9Stable not HEAD

      $stdoptions = '';
      foreach (scorm_get_popup_options_array() as $popupopt => $value) {
      $stdoptions .= $popupopt.'='.$value;
      if ($popupopt != 'status')

      { $stdoptions .= ','; }

      }

      if (!isset($CFG->scorm_advancedsettings)) {
      set_config('scorm_advancedsettings','0');
      }

      if (!isset($CFG->scorm_windowsettings)) {
      set_config('scorm_windowsettings','0');
      }

        Attachments

          Activity

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Tester:
              Jérôme Mouneyrac
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/09