try to handle text/calendar attachments that are NO ical-file; seems its of no use to try to show the gibberish to the user

This commit is contained in:
Klaus Leithoff 2016-03-03 13:36:42 +00:00
parent 352640e2b2
commit de8d48cc20

View File

@ -2782,7 +2782,8 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
}
else
{
$bodyParts[] = array('body'=>$attachment['attachment'], 'charSet'=>$attach['charset'] ? $attach['charset'] : 'utf-8');
error_log(__METHOD__.__LINE__.'Cannot import the following as ical:'.array2string($attachment));
//$bodyParts[] = array('body'=>$attachment['attachment'], 'charSet'=>$attach['charset'] ? $attach['charset'] : 'utf-8');
}
}
}