Skip to content

Commit 59c20c8

Browse files
committed
feat: add debugging-call
1 parent 47c3239 commit 59c20c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

classes/local/attempt_ui/question_ui_renderer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ private function set_input_values_and_readonly(question_attempt $attempt): void
280280
$name = $element->getAttribute('name');
281281
if (!$name || $name === 'data') {
282282
// The name 'data' is reserved for storing dynamic data and is not related to an input element.
283+
debugging('The name of an input element cannot be "data".');
283284
continue;
284285
}
285286

0 commit comments

Comments
 (0)