fixes Undefined property in message when using Message->getSubject()

This commit is contained in:
Abdul.Mohsen B. A. A 2013-06-30 02:25:23 +03:00
parent 33d6739959
commit f65772f2d5

View File

@ -367,7 +367,7 @@ class Message
*/ */
public function getSubject() public function getSubject()
{ {
return $this->subject; return isset($this->subject) ? $this->subject : null;
} }
/** /**