bug fixes

This commit is contained in:
Alex 2014-06-13 09:00:22 -06:00
parent 90f8f7c53e
commit 1790a917f4

View File

@ -168,11 +168,11 @@ class Message
* @var string
*/
public static $charset = 'UTF-8';
/**
* This value defines the flag set for encoding if the mb_convert_encoding
* function can't be found. In this case iconv encoding will be used.
*
*
* @var string
*/
public static $charsetFlag = '//TRANSLIT';
@ -360,7 +360,6 @@ class Message
if (!in_array($type, $addressTypes) || !isset($this->$type) || count($this->$type) < 1)
return false;
if (!$asString) {
if ($type == 'from')
return $this->from[0];