diff --git a/app/controllers/messages.php b/app/controllers/messages.php index d9d71da7f351f362d28cd1332e296d323bfeb39e..aead9dc4eb70b1604e85ec57490ae26a8304c435 100644 --- a/app/controllers/messages.php +++ b/app/controllers/messages.php @@ -544,7 +544,7 @@ class MessagesController extends AuthenticatedController { } // Create search object for multi person search - $vis_query = get_vis_query(); + $vis_query = get_vis_query('auth_user_md5', 'search'); $query = "SELECT DISTINCT auth_user_md5.user_id, {$GLOBALS['_fullname_sql']['full_rev']} AS fullname,