Fixed typo restoring choice_answers->userid

This commit is contained in:
stronk7 2005-03-31 07:45:19 +00:00
parent 1ea85ecd68
commit 948cd185cb

View file

@ -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;
} }