aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-11-02 00:22:58 +0100
committerNils Adermann <naderman@naderman.de>2014-11-02 00:22:58 +0100
commitc980402a4cb6cb3457ad685cc7e88e8b37ee6f60 (patch)
tree8bc882245948f6e803af371d8d7d420609e1807b /phpBB/phpbb
parentaede89d408608708e1cd8797af07a20a50944c35 (diff)
parent27be69e3b3092def847d497c19bad7d4ad0a33d8 (diff)
downloadforums-c980402a4cb6cb3457ad685cc7e88e8b37ee6f60.tar
forums-c980402a4cb6cb3457ad685cc7e88e8b37ee6f60.tar.gz
forums-c980402a4cb6cb3457ad685cc7e88e8b37ee6f60.tar.bz2
forums-c980402a4cb6cb3457ad685cc7e88e8b37ee6f60.tar.xz
forums-c980402a4cb6cb3457ad685cc7e88e8b37ee6f60.zip
Merge branch 'ticket/13271' into prep-release-3.1.1
* ticket/13271: [ticket/13271] Disable CC sender feature for anonymous users
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();
}