Corrected a warning related to a variable which could be used with no assigned value

This commit is contained in:
csantossaenz
2007-01-22 08:48:38 +00:00
parent 8f8de2cc87
commit 44ded09781
+1
View File
@@ -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;