fix php short tags:MDL-17566: Thanks Stephen Bourget

This commit is contained in:
danmarsden
2008-12-09 20:38:28 +00:00
parent 5903377c7a
commit 1067cd48e9
+2 -2
View File
@@ -135,7 +135,7 @@
}
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) {
@@ -143,7 +143,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