summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index b14ca95f7..c4e8c7fd1 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -1360,7 +1360,7 @@ function taxonomy_autocomplete($vid, $string = '') {
}
$matches[$prefix . $n] = check_plain($tag->name);
}
- print drupal_implode_autocomplete($matches);
+ print drupal_to_js($matches);
exit();
}
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index b14ca95f7..c4e8c7fd1 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1360,7 +1360,7 @@ function taxonomy_autocomplete($vid, $string = '') {
}
$matches[$prefix . $n] = check_plain($tag->name);
}
- print drupal_implode_autocomplete($matches);
+ print drupal_to_js($matches);
exit();
}
}
diff --git a/modules/user.module b/modules/user.module
index d22ad64f6..26e087f19 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -2083,6 +2083,6 @@ function user_autocomplete($string) {
while ($user = db_fetch_object($result)) {
$matches[$user->name] = check_plain($user->name);
}
- print drupal_implode_autocomplete($matches);
+ print drupal_to_js($matches);
exit();
}
diff --git a/modules/user/user.module b/modules/user/user.module
index d22ad64f6..26e087f19 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2083,6 +2083,6 @@ function user_autocomplete($string) {
while ($user = db_fetch_object($result)) {
$matches[$user->name] = check_plain($user->name);
}
- print drupal_implode_autocomplete($matches);
+ print drupal_to_js($matches);
exit();
}