mirror of
https://github.com/moodle/moodle.git
synced 2025-05-03 23:07:27 +02:00
fix php short tags:MDL-17566: Thanks Stephen Bourget
This commit is contained in:
parent
64c6d5db62
commit
46e58e8077
@ -143,7 +143,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function findAPI(win) {
|
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++;
|
findAPITries++;
|
||||||
// Note: 7 is an arbitrary number, but should be more than sufficient
|
// Note: 7 is an arbitrary number, but should be more than sufficient
|
||||||
if (findAPITries > 7) {
|
if (findAPITries > 7) {
|
||||||
@ -151,7 +151,7 @@
|
|||||||
}
|
}
|
||||||
win = win.parent;
|
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
|
// hun for the API - needs to be loaded before we can launch the package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user