Explorar o código

Fix from Thomas Castelle.
This will fix the out of order argument list situation in case of literal
arguments. Literal arguments weren't added to the argument array

stekkel %!s(int64=22) %!d(string=hai) anos
pai
achega
018f966bc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      class/mime/Message.class.php

+ 1 - 1
class/mime/Message.class.php

@@ -288,7 +288,7 @@ class Message {
                     break;
                 case '{':
                     /* process the literal value */
-                    $arg_s = $this->parseLiteral($read, $i);
+                    $arg_a[] = $this->parseLiteral($read, $i);
                     ++$arg_no;
                     break;
 		case '0':