From f0c2eb2e0c376caeaf49dfbfeb412f4fcd987adc Mon Sep 17 00:00:00 2001 From: Alan Harder Date: Thu, 12 Apr 2007 00:36:45 +0000 Subject: [PATCH] #134140 oops, use right variable for this change --- privatemsg.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/privatemsg.module b/privatemsg.module index 842b0e1..e86034b 100644 --- a/privatemsg.module +++ b/privatemsg.module @@ -673,7 +673,7 @@ function privatemsg_new_validate($form_id, $form_values) { if (!$recipient->uid) { form_set_error('recipient', t('The Recipient does not exist.')); } - else if (!$user->status || !(isset($recipient->privatemsg_allow) ? $recipient->privatemsg_allow : 1)) { + else if (!$recipient->status || !(isset($recipient->privatemsg_allow) ? $recipient->privatemsg_allow : 1)) { form_set_error('recipient', t('@name does not accept private messages.', array('@name' => $recipient->name))); } } -- 1.7.4.1