bug fixes

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

View File

@ -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];