diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-13 09:24:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-13 09:24:06 +0000 |
commit | 85161f230f0f1b8a409b39a47ee346f6bd60a33a (patch) | |
tree | 219ea040edcc147f1c9b577ee5a5afe556659cb6 /modules/taxonomy/taxonomy.pages.inc | |
parent | 91bd3ca8ce1268aea0b3d65070f0598a4b4b0fc3 (diff) | |
download | brdo-85161f230f0f1b8a409b39a47ee346f6bd60a33a.tar.gz brdo-85161f230f0f1b8a409b39a47ee346f6bd60a33a.tar.bz2 |
- Patch #631066 by yhed: taxonomy_autocomplete() doesn't need to access .
Diffstat (limited to 'modules/taxonomy/taxonomy.pages.inc')
-rw-r--r-- | modules/taxonomy/taxonomy.pages.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index f79dc97a3..83c9c9870 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -77,8 +77,7 @@ function taxonomy_term_feed($term) { /** * Helper function for autocompletion */ -function taxonomy_autocomplete($field_name, $bundle, $tags_typed = '') { - $instance = field_info_instance($field_name, $bundle); +function taxonomy_autocomplete($field_name, $tags_typed = '') { $field = field_info_field($field_name); // The user enters a comma-separated list of tags. We only autocomplete the last tag. |