mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-16 23:13:18 +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…
x
Reference in New Issue
Block a user