mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-03-13 05:26:57 +00:00
Allow for multiple to values
This commit is contained in:
parent
55ba13fdac
commit
afff7a6715
|
@ -62,7 +62,7 @@ class Builder
|
|||
*/
|
||||
private function buildProperty($value, $key)
|
||||
{
|
||||
if ($key == 'from') {
|
||||
if (collect(['from', 'to'])->contains($key)) {
|
||||
$value = collect($value)->implode('|');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue