diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-17 21:59:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-17 21:59:31 +0000 |
commit | 20dbb2f2aafc4e296d86571641242d52ff94a17a (patch) | |
tree | 82286cd109df7065cb0bfa72289d1fabf719ef63 | |
parent | 58ba3b6e3f48f3f5d633dca21d28397085df3647 (diff) | |
download | brdo-20dbb2f2aafc4e296d86571641242d52ff94a17a.tar.gz brdo-20dbb2f2aafc4e296d86571641242d52ff94a17a.tar.bz2 |
- Patch #190867 by David_Rothstein: fixed function name.
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 4ae2bb40b..ad1587780 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -2724,7 +2724,7 @@ function theme_textfield($variables) { $extra = ''; $output = ''; - if ($element['#autocomplete_path'] && menu_valid_path(array('link_path' => $element['#autocomplete_path']))) { + if ($element['#autocomplete_path'] && drupal_valid_path($element['#autocomplete_path'])) { drupal_add_js('misc/autocomplete.js'); $class[] = 'form-autocomplete'; $extra = '<input class="autocomplete" type="hidden" id="' . $element['#id'] . '-autocomplete" value="' . check_url(url($element['#autocomplete_path'], array('absolute' => TRUE))) . '" disabled="disabled" />'; |