--- privatemsg.author-pane.inc_old	2010-12-23 13:23:23.000000000 +0100
+++ privatemsg.author-pane.inc	2011-02-02 01:19:34.000000000 +0100
@@ -18,7 +18,7 @@ function privatemsg_preprocess_author_pa
   global $user;
   $account = $variables['account'];
 
-  if ($account_id != $user->uid) {
+  if ($account->uid != $user->uid) {
     $url = privatemsg_get_link($account);
     if (!empty($url)) {
       $variables['privatemsg'] = l('<span>' . t('Send PM') . '</span>', $url, array('attributes' => array('class' => array('author-pane-link'), 'title' => t('Send @name a private message', array('@name' => privatemsg_recipient_format($account, array('plain' => TRUE))))), 'html' => TRUE));
