diff --git a/api/src/Mail.php b/api/src/Mail.php index 31bdf48e58..14238fddc0 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -5748,7 +5748,7 @@ class Mail if ($ext && stripos($filename,'.')===false && stripos($filename,$ext)===false) $filename = trim($filename).'.'.$ext; if (!$part) { - throw new Exception\WrongParameter("Error: Could not fetch attachment for Uid=$_uid, PartId=$_partID, WinMailNr=$_winmail_nr, folder=$_folder"); + throw new Exception\WrongParameter("Error: Could not fetch attachment for Uid=".array2string($_uid).", PartId=$_partID, WinMailNr=$_winmail_nr, folder=$_folder"); } $attachmentData = array( 'type' => $structure_mime,