Permalink
Browse files

Fixed a problem with external packages

  • Loading branch information...
1 parent ff6bc9f commit 45d44e7e809ef9ef5bb19b4b7215f31f25435fb0 bobopinna committed Mar 15, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/scorm/validate.php
View
@@ -35,8 +35,8 @@
//
// 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)) {

0 comments on commit 45d44e7

Please sign in to comment.