Skip to content

Commit

Permalink
Merge pull request #72 from TheDMSGroup/ENG-479
Browse files Browse the repository at this point in the history
[ENG-479]Bugfix: logic error
  • Loading branch information
heathdutton authored Dec 11, 2018
2 parents a4ba4a8 + 7a5ed53 commit 84e8bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventListener/LeadSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function addExtendedFieldFilters(LeadListFilteringEvent $event)
}
if (isset($this->extendedFields[$fieldAlias])) {
//prevent duplicate joins without preventing joins
if (in_array($fieldAlias, array_keys($this->seen))) {
if (!array_key_exists($fieldAlias, $this->seen)) {
$joins = $event->getQueryBuilder()->getQueryPart('join');
if (isset($joins['l'])) {
foreach ($joins['l'] as $join) {
Expand Down

0 comments on commit 84e8bcb

Please sign in to comment.