mirror of https://github.com/BOINC/boinc.git
Drupal: Added space between username and BOINC id in autocomplete box.
This commit is contained in:
parent
6ec195ca8a
commit
dbd7c7707d
|
@ -1438,7 +1438,7 @@ function privatemsg_user_name_autocomplete($string) {
|
|||
// 3: Build proper suggestions and print.
|
||||
while ($user = db_fetch_object($result)) {
|
||||
$myname = preg_replace("/ /", "\xc2\xa0", $user->name);
|
||||
$matches[$prefix . $myname . "_" . $user->id . ', '] = htmlentities($myname) . '(' . $user->id . ')';
|
||||
$matches[$prefix . $myname . "_" . $user->id . ', '] = htmlentities($myname) . ' (' . $user->id . ')';
|
||||
}
|
||||
}
|
||||
// convert to object to prevent drupal bug, see http://drupal.org/node/175361
|
||||
|
|
Loading…
Reference in New Issue