summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-17 21:59:31 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-17 21:59:31 +0000
commit20dbb2f2aafc4e296d86571641242d52ff94a17a (patch)
tree82286cd109df7065cb0bfa72289d1fabf719ef63
parent58ba3b6e3f48f3f5d633dca21d28397085df3647 (diff)
downloadbrdo-20dbb2f2aafc4e296d86571641242d52ff94a17a.tar.gz
brdo-20dbb2f2aafc4e296d86571641242d52ff94a17a.tar.bz2
- Patch #190867 by David_Rothstein: fixed function name.
-rw-r--r--includes/form.inc2
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" />';