Improve SCORM tool to show message when item not found Fixing CT#253 requires testing

skala
Julio Montoya 15 years ago
parent 70c9a5136a
commit f852f97fa4
  1. 5
      main/newscorm/learnpath.class.php

@ -3085,14 +3085,13 @@ class learnpath {
$document_name = $tmp_array[count($tmp_array) - 1];
if (strpos($document_name, '_DELETED_')) {
$file = 'blank.php?error=document_deleted';
} else {
$file = 'blank.php?error=document_not_found';
}
}
} else {
$file = $course_path . '/scorm/' . $lp_path . '/' . $decoded;
}
} else {
$file = 'blank.php?error=document_not_found';
}
}
//}else{

Loading…
Cancel
Save