From 668df7663fb3a0c960be02c41da0a729bd021c2c 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 5f906948902..c8d581f765e 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -3217,7 +3217,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]);