Permalink
Browse files

SCORM MDL-21568 missing var from restore merged from HEAD

  • Loading branch information...
danmarsden committed Apr 29, 2010
1 parent 649e176 commit ad71ee56a3127c962b616a3d416ccf35d969d5dc
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/scorm/restorelib.php
View
@@ -53,6 +53,7 @@ function scorm_restore_mods($mod,$restore) {
$scorm->updatefreq = (int)backup_todb($info['MOD']['#']['UPDATEFREQ']['0']['#']);
$scorm->maxattempt = (int)backup_todb($info['MOD']['#']['MAXATTEMPT']['0']['#']);
$scorm->grademethod = (int)backup_todb($info['MOD']['#']['GRADEMETHOD']['0']['#']);
+ $scorm->whatgrade = (int)backup_todb($info['MOD']['#']['WHATGRADE']['0']['#']);
if ($restore->backup_version < 2005041500) {
$scorm->datadir = substr(backup_todb($info['MOD']['#']['DATADIR']['0']['#']),1);
} else {

0 comments on commit ad71ee5

Please sign in to comment.