From 941a4c10cd6cdbd69d7dfb8b6a0ab4591b0523ee Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Wed, 26 Feb 2020 21:27:33 +1100 Subject: [PATCH] MDL-67970 search: fixed stray end tag (input) --- lib/outputrenderers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index b12c2e9e9df..2d5ab39fe7d 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -3209,7 +3209,7 @@ EOD; 'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id, 'class' => 'form-control'); $contents = html_writer::tag('label', get_string('enteryoursearchquery', 'search'), - array('for' => 'id_q_' . $id, 'class' => 'accesshide')) . html_writer::tag('input', '', $inputattrs); + array('for' => 'id_q_' . $id, 'class' => 'accesshide')) . html_writer::empty_tag('input', $inputattrs); if ($this->page->context && $this->page->context->contextlevel !== CONTEXT_SYSTEM) { $contents .= html_writer::empty_tag('input', ['type' => 'hidden', 'name' => 'context', 'value' => $this->page->context->id]);