mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-11 12:39:26 +03:00
Merge pull request #16 from ArabCoders/master
fixes Undefined property in message when calling Message->getSubject()
This commit is contained in:
commit
5403184e5b
@ -367,7 +367,7 @@ class Message
|
||||
*/
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
return isset($this->subject) ? $this->subject : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user