mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixed typo restoring choice_answers->userid
This commit is contained in:
parent
1ea85ecd68
commit
948cd185cb
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ function choice_options_restore_mods($choiceid,$info,$restore) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//We have to recode the userid field
|
//We have to recode the userid field
|
||||||
$user = backup_getid($restore->backup_unique_code,"user",$response->userid);
|
$user = backup_getid($restore->backup_unique_code,"user",$answer->userid);
|
||||||
if ($user) {
|
if ($user) {
|
||||||
$answer->userid = $user->new_id;
|
$answer->userid = $user->new_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue