mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-04-05 14:23:35 +03:00
fixes Undefined property in message when using Message->getSubject()
This commit is contained in:
parent
33d6739959
commit
f65772f2d5
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ class Message
|
|||
*/
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
return isset($this->subject) ? $this->subject : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue