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 // Attachments
$files = $this->app->erp->GetDateiSubjektObjektDateiname('Anhang','Ticket',$drafted_messages[0]['id'],""); $files = $this->app->erp->GetDateiSubjektObjektDateiname('Anhang','Ticket',$drafted_messages[0]['id'],"");
foreach ($files as $file) { if ($cc != '') {
$msg .= $file."<br>"; $cc = explode(',',$drafted_messages[0]['mail_cc']);
} }
$cc = explode(',',$drafted_messages[0]['mail_cc']);
if ( if (
$this->app->erp->MailSend( $this->app->erp->MailSend(
$drafted_messages[0]['mail_replyto'], $drafted_messages[0]['mail_replyto'],