Skip to content

Commit

Permalink
fix php short tags:MDL-17566: Thanks Stephen Bourget
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Dec 9, 2008
1 parent 64c6d5d commit 46e58e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/scorm/loadSCO.php
Expand Up @@ -143,15 +143,15 @@ function getAPIHandle() {
}

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) {
return null;
}
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
Expand Down

0 comments on commit 46e58e8

Please sign in to comment.