Skip to content
Snippets Groups Projects
Commit 47d3d613 authored by David Rothstein's avatar David Rothstein
Browse files

Issue #1828876 by geekyMoa: Fixed Simpletest HTML5 field support.

parent 8a4df802
No related branches found
No related tags found
No related merge requests found
......@@ -2349,9 +2349,16 @@ protected function handleForm(&$post, &$edit, &$upload, $submit, $form) {
if (isset($edit[$name])) {
switch ($type) {
case 'text':
case 'tel':
case 'textarea':
case 'url':
case 'number':
case 'range':
case 'color':
case 'hidden':
case 'password':
case 'email':
case 'search':
$post[$name] = $edit[$name];
unset($edit[$name]);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment