MDL-79057 gradereport_singleview: Use proper hidden attribute value

HTML attribute hidden="1" is invalid. It either needs to be set to an
empty string or use the keyword "hidden" for its value.
This commit is contained in:
Jun Pataleta 2023-09-06 10:32:33 +08:00
parent bf9a2f43ad
commit 51655f3485
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -225,7 +225,7 @@ abstract class tablelike extends screen implements be_readonly {
return html_writer::tag(
'div',
(new bulk_insert($this->item))->html(),
['class' => 'singleview_bulk', 'hidden' => true]
['class' => 'singleview_bulk', 'hidden' => 'hidden']
);
}