-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
2.7.3, 3.6.1
-
MOODLE_27_STABLE, MOODLE_36_STABLE
-
MDL-48763-master_file_element_throws_warning -
When using HTML-Element "file" in a standard moodle form there is a strict standards warning thrown, because the implementation integrated from pear is missing the parameter $values:
Strict Standards: Declaration of HTML_QuickForm_file::_findValue() should be compatible with HTML_QuickForm_element::_findValue(&$values) in C:\Users\Admin\xampp183\htdocs\ecommunity\lib\pear\HTML\QuickForm\file.php on line 346
I know, that using the "file" Element is not recommended, but there might be situations (like uploading a file in the filepicker dialogue), where you might not like to use the fliemanager (as for us by developing a new repository plugin).
I like to suggest to add the parameter of the inherited method _findValue() in /lib/pear/HTML/QuickForm/file.php as follows to match strict standards.
function _findValue(&$values = array()) {
- will be (partly) resolved by
-
MDL-63070 QuickForms library upgrade
- Closed