Skip to content
Snippets Groups Projects
Commit de791184 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#214922 by Eaton: fix code typo which prevented from image buttons in a tree form from working

parent 7a388c3f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1129,7 +1129,7 @@ function form_type_image_button_value($form, $edit = FALSE) {
}
return NULL;
}
$post = $array[$element_name];
$post = $post[$element_name];
}
return $form['#return_value'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment