From 20dbb2f2aafc4e296d86571641242d52ff94a17a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 17 Dec 2009 21:59:31 +0000 Subject: - Patch #190867 by David_Rothstein: fixed function name. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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 = ''; -- cgit v1.2.3