From 1790a917f4f789a19e8ecb9008ca0c992166a5d9 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 13 Jun 2014 09:00:22 -0600 Subject: [PATCH] bug fixes --- src/Fetch/Message.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Fetch/Message.php b/src/Fetch/Message.php index 57caccf..5807ba4 100644 --- a/src/Fetch/Message.php +++ b/src/Fetch/Message.php @@ -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];