From 9a6660f6b9417a78b6aa8ddc225056b3f16346b3 Mon Sep 17 00:00:00 2001 From: Philipp Hager Date: Wed, 16 Dec 2020 09:58:16 +0100 Subject: [PATCH] raise name input element's maxlength to 128 (eDaktik: #4139) --- editreport_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editreport_form.php b/editreport_form.php index 57fedf81..a74c2324 100644 --- a/editreport_form.php +++ b/editreport_form.php @@ -39,7 +39,7 @@ public function definition() { $mform->addElement('header', 'general', get_string('general', 'form')); - $mform->addElement('text', 'name', get_string('name'), array('maxlength' => 60, 'size' => 58)); + $mform->addElement('text', 'name', get_string('name'), array('maxlength' => 128, 'size' => 58)); if (!empty($CFG->formatstringstriptags)) { $mform->setType('name', PARAM_TEXT); } else {