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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user