1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13271] Disable CC sender feature for anonymous users

PHPBB3-13271
This commit is contained in:
Nils Adermann
2014-11-01 18:10:25 +01:00
parent 197fed16bd
commit 27be69e3b3
3 changed files with 5 additions and 1 deletions

View File

@@ -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();
}