]> git.mjollnir.org Git - moodle.git/commitdiff
fix php short tags:MDL-17566: Thanks Stephen Bourget
authordanmarsden <danmarsden>
Tue, 9 Dec 2008 20:41:44 +0000 (20:41 +0000)
committerdanmarsden <danmarsden>
Tue, 9 Dec 2008 20:41:44 +0000 (20:41 +0000)
mod/scorm/loadSCO.php

index bf518ca9922d3e3fb0807c375652f1b2edf9832b..3e9d77188bf7b4875bc61173c247e61c9cad0149 100755 (executable)
         }
 
         function findAPI(win) {
-           while ((win.<?echo $LMS_api; ?> == null) && (win.parent != null) && (win.parent != win)) {
+           while ((win.<?php echo $LMS_api; ?> == null) && (win.parent != null) && (win.parent != win)) {
               findAPITries++;
               // Note: 7 is an arbitrary number, but should be more than sufficient
               if (findAPITries > 7) {
               }
               win = win.parent;
            }
-           return win.<?echo $LMS_api; ?>;
+           return win.<?php echo $LMS_api; ?>;
         }
 
         // hun for the API - needs to be loaded before we can launch the package