MOBILE-3247 survey: Fix issues with last 2 questions in survey

This was a regression caused by MOBILE-3109
main
Dani Palou 2019-12-10 09:08:00 +01:00
parent 6e27a7919b
commit 96ccb97ed0
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++;