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

This commit is contained in:
danmarsden 2008-12-09 20:41:44 +00:00
parent 64c6d5db62
commit 46e58e8077

View File

@ -143,7 +143,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) {
@ -151,7 +151,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