Permalink
Browse files

Fixed problem with the popup window options. Now, they are saved when…

… you update an SCORM activity and you change those options.
  • Loading branch information...
1 parent 88b5f9b commit f0403cbba26a89a2b12b1bf86b401925b2930ed3 csantossaenz committed Mar 29, 2007
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/scorm/lib.php
View
@@ -9,6 +9,10 @@
* @param mixed $scorm Form data
* @return int
*/
+
+require_once($CFG->dirroot.'/mod/scorm/locallib.php');
+
+
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('badpackage', 'scorm'));

0 comments on commit f0403cb

Please sign in to comment.