Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a problem with parameter passing

  • Loading branch information...
commit 6293071b9e3d6755df3b049a44c69aca37a2b75d 1 parent c36037e
authored August 30, 2005

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 7  mod/scorm/loadSCO.php
7  mod/scorm/loadSCO.php
@@ -55,8 +55,8 @@
55 55
             }
56 56
             $sco = get_record("scorm_scoes","id",$sco_track->scoid);
57 57
         }
58  
-           }
59  
-       //
  58
+    }
  59
+    //
60 60
     // If no sco was found get the first of SCORM package
61 61
     //
62 62
     if (!isset($sco)) {
@@ -75,6 +75,9 @@
75 75
         } else {
76 76
             $connector = '?';
77 77
         }
  78
+        if ($sco->parameters[0] == '?') {
  79
+            $sco->parameters = substr($sco->parameters,1);
  80
+        }
78 81
     }
79 82
     
80 83
     if ($version == 'AICC') {

0 notes on commit 6293071

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