Permalink
Browse files

Fixed a typo

  • Loading branch information...
1 parent fdecc5c commit 5e73ea768bdada67fccd4f0579ceaa563130ba9c bobopinna committed Oct 31, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/backuplib.php
@@ -242,7 +242,7 @@ function backup_scorm_files($bf,$preferences) {
if (is_dir($CFG->dataroot."/".$preferences->backup_course."/".$CFG->moddata."/scorm")) {
$handle = opendir($CFG->dataroot."/".$preferences->backup_course."/".$CFG->moddata."/scorm");
while (false!==($item = readdir($handle))) {
- if ($item != '.' && $item != '..' && is_dir($CFG->dataroot."/".$preferences->backup_course."/".$CFG->moddata."/sorm/".$item)
+ if ($item != '.' && $item != '..' && is_dir($CFG->dataroot."/".$preferences->backup_course."/".$CFG->moddata."/scorm/".$item)
&& array_key_exists($item,$preferences->mods['scorm']->instances)
&& !empty($preferences->mods['scorm']->instances[$item]->backup)) {
$status = backup_copy_file($CFG->dataroot."/".$preferences->backup_course."/".$CFG->moddata."/scorm/".$item,

0 comments on commit 5e73ea7

Please sign in to comment.