diff --git a/include/class.ticket.php b/include/class.ticket.php index 7e6df8c7f2e0d76f828405f72a4250751618494d..5078b566e1f8c04944cf524ef379ef9b14b37c16 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1370,8 +1370,8 @@ implements RestrictedAccess, Threadable, Searchable { return false; } - function checkReply($userType, $replyType, $forceAlert=false) { - if ($userType == 'cc' && ($replyType == 'reply-all' || $forceAlert)) + function checkReply($userType, $replyType) { + if ($userType == 'cc' && $replyType == 'reply-all') return true; if ($userType == 'user' && ($replyType == 'reply-all' || $replyType == 'reply-user')) @@ -2944,7 +2944,7 @@ implements RestrictedAccess, Threadable, Searchable { $attachments = $cfg->emailAttachments() ? $response->getAttachments() : array(); //Cc collaborators $collabsCc = array(); - if ($vars['ccs'] && Ticket::checkReply('cc', $vars['emailreply'], true)) { + if ($vars['ccs']) { $collabsCc[] = Collaborator::getCollabList($vars['ccs']); $collabsCc['cc'] = $collabsCc[0]; }