MDL-15094 some forgotten conversions

This commit is contained in:
skodak 2008-06-05 14:11:54 +00:00
parent fd1d37290f
commit 99cd2d2868

View File

@ -418,7 +418,7 @@ function schedule_backup_course_configure($course,$starttime = 0) {
$preferences->mods[$mod->modname]->instances[$mod->instance]->backup = $preferences->mods[$mod->modname]->backup;
$preferences->mods[$mod->modname]->instances[$mod->instance]->userinfo = $preferences->mods[$mod->modname]->userinfo;
// there isn't really a nice way to do this...
$preferences->mods[$mod->modname]->instances[$mod->instance]->name = get_field($mod->modname,'name','id',$mod->instance);
$preferences->mods[$mod->modname]->instances[$mod->instance]->name = $DB->get_field($mod->modname,'name', array('id'=>$mod->instance));
}
}
}