summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-02-02 15:25:25 +0000
committerDries Buytaert <dries@buytaert.net>2007-02-02 15:25:25 +0000
commit4980327172bee2eaee1d401fef900f924d41a383 (patch)
treec1a40d14bd03d1b088f05b833234250d09de5c56 /modules/user/user.module
parentce358d8c7a645e255b99ab2a7adb73a819172d03 (diff)
downloadbrdo-4980327172bee2eaee1d401fef900f924d41a383.tar.gz
brdo-4980327172bee2eaee1d401fef900f924d41a383.tar.bz2
- Patch #115315 by kkaefer: fixed autocomplete for users.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 1da91f505..d7e5ad56b 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -724,6 +724,7 @@ function user_menu() {
$items['user/autocomplete'] = array(
'title' => t('User autocomplete'),
'page callback' => 'user_autocomplete',
+ 'access callback' => 'user_access',
'access arguments' => array('access user profiles'),
'type' => MENU_CALLBACK,
);