作者 邓超

x

@@ -383,11 +383,11 @@ class Body { @@ -383,11 +383,11 @@ class Body {
383 private function decode($code,$body){ 383 private function decode($code,$body){
384 switch($code){ 384 switch($code){
385 case 'base64': { 385 case 'base64': {
386 - $data['body'] = base64_decode($body); 386 + $body = base64_decode($body);
387 break; 387 break;
388 } 388 }
389 case 'quoted-printable': { 389 case 'quoted-printable': {
390 - $data['body'] = quoted_printable_decode($body); 390 + $body = quoted_printable_decode($body);
391 break; 391 break;
392 } 392 }
393 case '8bit': { 393 case '8bit': {