Skip to content
Browse files

Fixed a problem with parameter passing

  • Loading branch information...
1 parent c36037e commit 6293071b9e3d6755df3b049a44c69aca37a2b75d bobopinna committed
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') {

0 comments on commit 6293071

Please sign in to comment.
Something went wrong with that request. Please try again.