mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix typo introduced with rev47607, accidently returning the decoded attachment instead of preparing data for the array to be returned
This commit is contained in:
parent
aa6f344c7f
commit
411b192e16
@ -1221,7 +1221,7 @@
|
||||
switch ($structure->encoding) {
|
||||
case 'BASE64':
|
||||
// use imap_base64 to decode, not any longer, as it is strict, and fails if it encounters invalid chars
|
||||
return base64_decode($attachment);
|
||||
$attachment = base64_decode($attachment);
|
||||
break;
|
||||
case 'QUOTED-PRINTABLE':
|
||||
// use imap_qprint to decode
|
||||
@ -1330,7 +1330,7 @@
|
||||
switch ($structure->encoding) {
|
||||
case 'BASE64':
|
||||
// use imap_base64 to decode, not any longer, as it is strict, and fails if it encounters invalid chars
|
||||
return base64_decode($attachment);
|
||||
$attachment = base64_decode($attachment);
|
||||
break;
|
||||
case 'QUOTED-PRINTABLE':
|
||||
// use imap_qprint to decode
|
||||
|
Loading…
Reference in New Issue
Block a user