From dbd7c7707dfac8f7ab55c202d1dd4647f3904d16 Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Thu, 26 Oct 2017 10:07:57 -0500 Subject: [PATCH] Drupal: Added space between username and BOINC id in autocomplete box. --- .../default/boinc/modules/contrib/privatemsg/privatemsg.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drupal/sites/default/boinc/modules/contrib/privatemsg/privatemsg.module b/drupal/sites/default/boinc/modules/contrib/privatemsg/privatemsg.module index 1fd58be731..3fd91e5097 100644 --- a/drupal/sites/default/boinc/modules/contrib/privatemsg/privatemsg.module +++ b/drupal/sites/default/boinc/modules/contrib/privatemsg/privatemsg.module @@ -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