summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-04-06 02:41:48 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-04-06 02:41:48 +0000
commit482120068966928c902338630946f0ead9a17191 (patch)
tree917a4931802eb23b4dbf56b101380ebd009686ef /modules
parentb3c245c08c121ec6915d58b3709d0fa9e3469f56 (diff)
downloadbrdo-482120068966928c902338630946f0ead9a17191.tar.gz
brdo-482120068966928c902338630946f0ead9a17191.tar.bz2
#57415: Replace drupal_implode_autocomplete() by drupal_to_js()
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();
}