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 e6f6988 commit 9c1e53eCopy full SHA for 9c1e53e
classes/local/files/response_file_service.php
@@ -253,7 +253,8 @@ public static function unmangle_filename(string $filename): array {
253
*/
254
public function get_all_files_from_qt_data(array $response): array {
255
$accessor = $response[constants::QT_VAR_RESPONSE_FILES] ?? null;
256
- if ($accessor === null) {
+ if ($accessor === null || $accessor === '') {
257
+ // When empty (i.e. no files), no question_file_loader is created when loading.
258
return [];
259
}
260
0 commit comments