Commit c5410bdb authored by Liam Morland's avatar Liam Morland
Browse files

RT-Ticket: #349189: Update use of ajax_get_form() for compatibility with Drupal 7.27.

parent 41704f82
...@@ -1470,7 +1470,7 @@ function field_collection_remove_js() { ...@@ -1470,7 +1470,7 @@ function field_collection_remove_js() {
unset($_POST['ajax_html_ids']); unset($_POST['ajax_html_ids']);
} }
list($form, $form_state) = ajax_get_form(); list($form, $form_state, $form_id, $form_build_id, $commands) = ajax_get_form();
drupal_process_form($form['#form_id'], $form, $form_state); drupal_process_form($form['#form_id'], $form, $form_state);
// Get the information on what we're removing. // Get the information on what we're removing.
......
Supports Markdown
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