Index: privatemsg.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/privatemsg/privatemsg.module,v
retrieving revision 1.115
diff -u -p -r1.115 privatemsg.module
--- privatemsg.module	4 Jan 2010 15:56:56 -0000	1.115
+++ privatemsg.module	7 Jan 2010 10:14:28 -0000
@@ -986,7 +986,7 @@ function privatemsg_user($op, &$edit, &$
       break;
 
     case 'view':
-      if ($url = privatemsg_get_link(array($account)) && variable_get('privatemsg_display_profile_links', 1)) {
+      if (($url = privatemsg_get_link(array($account))) && variable_get('privatemsg_display_profile_links', 1)) {
         $account->content['privatemsg_send_new_message'] = array(
           '#type'   => 'markup',
           '#value'  => l(t('Send this user a message'), $url, array('query' => drupal_get_destination(), 'attributes' => array('title' => t('Send this user a message')))),
