From 46e58e807755266b49460723f0f2c4d73b17fded Mon Sep 17 00:00:00 2001 From: danmarsden Date: Tue, 9 Dec 2008 20:41:44 +0000 Subject: [PATCH] fix php short tags:MDL-17566: Thanks Stephen Bourget --- mod/scorm/loadSCO.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/scorm/loadSCO.php b/mod/scorm/loadSCO.php index bf518ca9922d3..3e9d77188bf7b 100755 --- a/mod/scorm/loadSCO.php +++ b/mod/scorm/loadSCO.php @@ -143,7 +143,7 @@ function getAPIHandle() { } function findAPI(win) { - while ((win. == null) && (win.parent != null) && (win.parent != win)) { + while ((win. == 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 @@ function findAPI(win) { } win = win.parent; } - return win.; + return win.; } // hun for the API - needs to be loaded before we can launch the package