Bugfix Ticket System empty cc

This commit is contained in:
Xenomporio 2022-08-02 11:50:43 +02:00
parent 244d30faa9
commit 67bad8d911

View File

@ -620,12 +620,10 @@ class Ticket {
// Attachments
$files = $this->app->erp->GetDateiSubjektObjektDateiname('Anhang','Ticket',$drafted_messages[0]['id'],"");
foreach ($files as $file) {
$msg .= $file."<br>";
if ($cc != '') {
$cc = explode(',',$drafted_messages[0]['mail_cc']);
}
$cc = explode(',',$drafted_messages[0]['mail_cc']);
if (
$this->app->erp->MailSend(
$drafted_messages[0]['mail_replyto'],