]> git.mjollnir.org Git - moodle.git/commitdiff
mod/scorm: HTML fix
authormattc-catalyst <mattc-catalyst>
Mon, 16 Apr 2007 23:18:32 +0000 (23:18 +0000)
committermattc-catalyst <mattc-catalyst>
Mon, 16 Apr 2007 23:18:32 +0000 (23:18 +0000)
Fixed and HTML causing a parser error in Firefox when in developer debug
mode.

Author: Matt Clarkson <mattc@catalyst.net.nz>

mod/scorm/locallib.php

index 10c4ca20e0829bac1bf82dd2fac854b49f97d1d0..5a12e2166ef5bf14375a562bc56a18b7a994dc4b 100755 (executable)
@@ -560,7 +560,7 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
 
 ?>
             <div class="center">
-               <form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&id=<?php echo $cm->id ?>"<?php echo $scorm->popup == 1?' target="newwin"':'' ?>>
+               <form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&amp;id=<?php echo $cm->id ?>"<?php echo $scorm->popup == 1?' target="newwin"':'' ?>>
               <?php
                   if ($scorm->hidebrowse == 0) {
                       print_string('mode','scorm');