Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
49803271
Commit
49803271
authored
Feb 02, 2007
by
Dries Buytaert
Browse files
- Patch
#115315
by kkaefer: fixed autocomplete for users.
parent
ce358d8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/profile/profile.module
View file @
49803271
...
...
@@ -92,7 +92,7 @@ function profile_menu() {
$items
[
'profile/autocomplete'
]
=
array
(
'title'
=>
t
(
'Profile autocomplete'
),
'page callback'
=>
'profile_autocomplete'
,
'access
callback'
=>
TRUE
,
'access
arguments'
=>
array
(
'access user profiles'
)
,
'type'
=>
MENU_CALLBACK
,
);
return
$items
;
...
...
modules/user/user.module
View file @
49803271
...
...
@@ -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
,
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment