Fixed a problem with external packages

This commit is contained in:
bobopinna
2007-03-15 15:54:36 +00:00
parent ff6bc9fbc2
commit 45d44e7e80
+2 -2
View File
@@ -35,8 +35,8 @@ if (confirm_sesskey() && !empty($courseid)) {
//
// SCORM Update
//
if (($launch != -1) && is_file($reference)) {
$fp = fopen($reference,"r");
if (($launch != -1) && ($fp = fopen($reference,"r"))) {
//$fp = fopen($reference,"r");
$fstat = fstat($fp);
fclose($fp);
if ($scorm = get_record("scorm","id",$scormid)) {