]> git.mjollnir.org Git - moodle.git/commitdiff
Corrected a warning related to a variable which could be used with no assigned value
authorcsantossaenz <csantossaenz>
Mon, 22 Jan 2007 08:48:38 +0000 (08:48 +0000)
committercsantossaenz <csantossaenz>
Mon, 22 Jan 2007 08:48:38 +0000 (08:48 +0000)
mod/scorm/locallib.php

index 421b4d2c3f52b0a67b41646f8d84a7de644d4953..987fc3f18b175dcced6d1ce271b1ac085a1bc6ba 100755 (executable)
@@ -666,6 +666,7 @@ function scorm_validate($data) {
     $scormid = $data->instance;                 // scorm ID 
 
     $validation = new stdClass();
+       $fstat=array("mtime"=>0);
 
     if (!empty($courseid) && !empty($reference)) {
         $validation->launch = 0;