Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a problem with parameter passing

  • Loading branch information...
commit 6293071b9e3d6755df3b049a44c69aca37a2b75d 1 parent c36037e
bobopinna authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 mod/scorm/loadSCO.php
View
7 mod/scorm/loadSCO.php
@@ -55,8 +55,8 @@
}
$sco = get_record("scorm_scoes","id",$sco_track->scoid);
}
- }
- //
+ }
+ //
// If no sco was found get the first of SCORM package
//
if (!isset($sco)) {
@@ -75,6 +75,9 @@
} else {
$connector = '?';
}
+ if ($sco->parameters[0] == '?') {
+ $sco->parameters = substr($sco->parameters,1);
+ }
}
if ($version == 'AICC') {
Please sign in to comment.
Something went wrong with that request. Please try again.