Commit 4db70f8a authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

somehow escaped committing, belongs to #28625

parent 3c795c55
......@@ -84,7 +84,7 @@ function drupal_get_form($form_id, &$form, $callback = NULL) {
$form['#id'] = $form_id;
}
$form = array_merge(_element_info('form'), $form);
$form += _element_info('form');
if (!isset($form['#validate'])) {
if (function_exists($form_id .'_validate')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment