Skip to content

Commit

Permalink
Merge pull request #441 from robinbeatty/patch-1
Browse files Browse the repository at this point in the history
Update EmailConditionRule.php
  • Loading branch information
bencroker authored Dec 13, 2023
2 parents adfe4a5 + 50c018c commit 32a2fec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/elements/conditions/contacts/EmailConditionRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public function getExclusiveQueryParams(): array
*/
public function modifyQuery(ElementQueryInterface $query): void
{
if ($this->paramValue() === null) {
return;
}
/** @var ContactElementQuery $query */
$query->email($this->paramValue());
}
Expand Down

0 comments on commit 32a2fec

Please sign in to comment.