Commit 49803271 authored by Dries's avatar Dries

- Patch #115315 by kkaefer: fixed autocomplete for users.

parent ce358d8c
......@@ -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;
......
......@@ -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,
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment