Merge pull request #2200 from dpalou/MOBILE-3247

MOBILE-3247 survey: Fix issues with last 2 questions in survey
main
Juan Leyva 2019-12-10 11:09:16 +01:00 committed by GitHub
commit 1137a1dd8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export class AddonModSurveyHelperProvider {
return;
}
} else if (q1.multi && q1.multi.length === 0) {
} else if (q1.multiArray && q1.multiArray.length === 0) {
// It's a single question.
q1.name = 'q' + q1.id;
q1.num = num++;