Skip to content
Browse files

Merge branch 'm20_MDL-28971' of git://github.com/danmarsden/moodle in…

…to MOODLE_20_STABLE
  • Loading branch information...
2 parents c7cce21 + c9a0802 commit 14f9c0cbcd99fd3cfada8dd2c2fd393b919dec42 @stronk7 stronk7 committed Aug 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/db/upgrade.php
View
2 mod/scorm/db/upgrade.php
@@ -548,7 +548,7 @@ function xmldb_scorm_upgrade($oldversion) {
require_once($CFG->dirroot."/mod/scorm/lib.php");
$rs = $DB->get_recordset('scorm', array('popup' => 1), '', 'id,hidetoc,hidenav');
foreach ($rs as $scorm) {
- $scorm->hidetoc = SCORM_TOC_DISABLED;
+ $scorm->hidetoc = 1;
$scorm->hidenav = 1;
$DB->update_record('scorm', $scorm);
}

0 comments on commit 14f9c0c

Please sign in to comment.
Something went wrong with that request. Please try again.