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
...@@ -1129,7 +1129,7 @@ function form_type_image_button_value($form, $edit = FALSE) { ...@@ -1129,7 +1129,7 @@ function form_type_image_button_value($form, $edit = FALSE) {
} }
return NULL; return NULL;
} }
$post = $array[$element_name]; $post = $post[$element_name];
} }
return $form['#return_value']; return $form['#return_value'];
} }
......
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