We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7602a commit 289fcd5Copy full SHA for 289fcd5
src/addon/qtype/essay/providers/handler.ts
@@ -165,8 +165,8 @@ export class AddonQtypeEssayHandler implements CoreQuestionHandler {
165
return attachments && attachments.length >= Number(question.settings.attachmentsrequired) ? 1 : 0;
166
}
167
168
- return (hasTextAnswer || question.settings.responserequired == '0') &&
169
- (attachments && attachments.length > Number(question.settings.attachmentsrequired)) ? 1 : 0;
+ return ((hasTextAnswer || question.settings.responserequired == '0') &&
+ (attachments && attachments.length >= Number(question.settings.attachmentsrequired))) ? 1 : 0;
170
171
172
/**
0 commit comments