Skip to content

Commit 273342b

Browse files
author
Brendon
committed
* Removing form_id argument from validator
1 parent d47697a commit 273342b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ajax.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function ajax_invoke_alter(&$form, &$form_state, $form_id) {
409409
* @param $form_state Assoc
410410
* @return Bool
411411
*/
412-
function ajax_validator(&$form, &$form_state, $form_id) {
412+
function ajax_validator(&$form, &$form_state) {
413413
if (array_key_exists('drupal_ajax', $_REQUEST)) {
414414
drupal_get_messages(NULL, TRUE);
415415
$data = ajax_build(array(

0 commit comments

Comments
 (0)