From 41ebc6d31c36e0b45700b960923148602e775a07 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 1 Sep 2008 06:17:23 +0000 Subject: [PATCH] MDL-15348 Make sure the filepicker element shows a label --- lib/form/filepicker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/form/filepicker.php b/lib/form/filepicker.php index 216dc2c18a..b577a21f93 100644 --- a/lib/form/filepicker.php +++ b/lib/form/filepicker.php @@ -18,6 +18,7 @@ class MoodleQuickForm_filepicker extends HTML_QuickForm_button var $_helpbutton=''; function MoodleQuickForm_filepicker($elementName=null, $value=null, $filearea=null, $attributes=null) { + HTML_QuickForm_input::HTML_QuickForm_input($elementName, $value, $attributes); // Set label cause button doesn't parent::HTML_QuickForm_button($elementName, $value, $attributes); $this->_filearea = $filearea; } -- 2.39.5