aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/message/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/message/form.php')
-rw-r--r--phpBB/phpbb/message/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/message/form.php b/phpBB/phpbb/message/form.php
index 076b41dc07..21d4de0b4d 100644
--- a/phpBB/phpbb/message/form.php
+++ b/phpBB/phpbb/message/form.php
@@ -146,7 +146,7 @@ abstract class form
WHERE user_id = ' . $this->user->data['user_id'];
$this->db->sql_query($sql);
- if ($this->cc_sender)
+ if ($this->cc_sender && $this->user->data['is_registered'])
{
$this->message->cc_sender();
}