summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 9d90d30ad..43a1fa07c 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2827,8 +2827,8 @@ function user_autocomplete($string = '') {
$matches[$user->name] = check_plain($user->name);
}
}
- print drupal_to_js($matches);
- exit();
+
+ drupal_json($matches);
}
/**