aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-11-01 18:10:25 +0100
committerNils Adermann <naderman@naderman.de>2014-11-02 00:21:23 +0100
commit27be69e3b3092def847d497c19bad7d4ad0a33d8 (patch)
tree4a6c46695a4b1cb540b803025ca6dc502650f5fe /phpBB/phpbb
parent197fed16bd0fed828dabc433dac6e99028231556 (diff)
downloadforums-27be69e3b3092def847d497c19bad7d4ad0a33d8.tar
forums-27be69e3b3092def847d497c19bad7d4ad0a33d8.tar.gz
forums-27be69e3b3092def847d497c19bad7d4ad0a33d8.tar.bz2
forums-27be69e3b3092def847d497c19bad7d4ad0a33d8.tar.xz
forums-27be69e3b3092def847d497c19bad7d4ad0a33d8.zip
[ticket/13271] Disable CC sender feature for anonymous users
PHPBB3-13271
Diffstat (limited to 'phpBB/phpbb')
-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();
}