Changes no datadir error message from bad manifest to bad package

This commit is contained in:
bobopinna
2006-09-29 06:29:10 +00:00
parent 3c6c4eaf66
commit cfc74f324c
+1 -1
View File
@@ -11,7 +11,7 @@
*/
function scorm_add_instance($scorm) {
if(empty($scorm->datadir)) { //check to make sure scorm object is valid BEFORE entering it in the database.
error(get_string('nomanifest', 'scorm'));
error(get_string('badpackage', 'scorm'));
} else {
global $CFG;
$scorm->timemodified = time();