mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-03-13 05:26:57 +00:00
parent
2b410128c1
commit
30d83f7682
|
@ -160,7 +160,7 @@ class GmailFilter
|
|||
*/
|
||||
public function from(array $values)
|
||||
{
|
||||
$this->condition('from', implode('||', $values));
|
||||
$this->condition('from', implode(' OR ', $values));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ class GmailFilter
|
|||
*/
|
||||
public function to(array $values)
|
||||
{
|
||||
$this->condition('to', implode('||', $values));
|
||||
$this->condition('to', implode(' OR ', $values));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue