mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-29 05:56:02 +03:00
bug fixes
This commit is contained in:
parent
90f8f7c53e
commit
1790a917f4
@ -360,7 +360,6 @@ class Message
|
|||||||
if (!in_array($type, $addressTypes) || !isset($this->$type) || count($this->$type) < 1)
|
if (!in_array($type, $addressTypes) || !isset($this->$type) || count($this->$type) < 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
if (!$asString) {
|
if (!$asString) {
|
||||||
if ($type == 'from')
|
if ($type == 'from')
|
||||||
return $this->from[0];
|
return $this->from[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user