diff options
Diffstat (limited to 'includes/ajax.inc')
-rw-r--r-- | includes/ajax.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc index 67f507a6c9a..6a5a25e599d 100644 --- a/includes/ajax.inc +++ b/includes/ajax.inc @@ -211,7 +211,7 @@ function ajax_form_callback() { // Get the callback function from the clicked button. $ajax = $form_state['clicked_button']['#ajax']; $callback = $ajax['callback']; - if (drupal_function_exists($callback)) { + if (function_exists($callback)) { $html = $callback($form, $form_state); // If the returned value is a string, assume it is HTML and create |