diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-26 13:52:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-26 13:52:13 +0000 |
commit | b4534e89a5e9a18d02299507de1c97e5f6251347 (patch) | |
tree | cba2e9eb3114fbd9c0d4a7755ad0152f5afb8a86 /modules/profile/profile.admin.inc | |
parent | 63e195eb3024e9aa79c1c4bc7285b329329c91af (diff) | |
download | brdo-b4534e89a5e9a18d02299507de1c97e5f6251347.tar.gz brdo-b4534e89a5e9a18d02299507de1c97e5f6251347.tar.bz2 |
- Patch #263445 by Dave Reid, merlinofchaos: replace improper use of drupal_to_js() with drupal_json().
Diffstat (limited to 'modules/profile/profile.admin.inc')
-rw-r--r-- | modules/profile/profile.admin.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index 01f3bda32..16f5860e4 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -401,6 +401,5 @@ function profile_admin_settings_autocomplete($string) { while ($data = db_fetch_object($result)) { $matches[$data->category] = check_plain($data->category); } - print drupal_to_js($matches); - exit(); + drupal_json($matches); } |