mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 19:26:01 +03:00
fixes Undefined property in message when using Message->getSubject()
This commit is contained in:
parent
33d6739959
commit
f65772f2d5
@ -367,7 +367,7 @@ class Message
|
|||||||
*/
|
*/
|
||||||
public function getSubject()
|
public function getSubject()
|
||||||
{
|
{
|
||||||
return $this->subject;
|
return isset($this->subject) ? $this->subject : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user