Skip to content

Commit

Permalink
Changes no datadir error message from bad manifest to bad package
Browse files Browse the repository at this point in the history
  • Loading branch information
bobopinna committed Sep 29, 2006
1 parent 3c6c4ea commit cfc74f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/lib.php
Expand Up @@ -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();
Expand Down

0 comments on commit cfc74f3

Please sign in to comment.