Skip to content

Commit

Permalink
Merge pull request #10885 from MegaphoneJon/CRM-21089
Browse files Browse the repository at this point in the history
CRM-21089 - CiviSurvey - Fix fatal error on 'Interview Respondents'
  • Loading branch information
eileenmcnaughton authored Aug 22, 2017
2 parents 599472e + edbe674 commit bcb0eba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Contact/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -2761,6 +2761,10 @@ public static function fromClause(&$tables, $inner = NULL, $right = NULL, $prima
$from .= CRM_Mailing_BAO_Query::from($name, $mode, $side);
continue;
}
elseif ($mode & CRM_Contact_BAO_Query::MODE_CAMPAIGN) {
$from .= CRM_Campaign_BAO_Query::from($name, $mode, $side);
continue;
}

case 'civicrm_website':
$from .= " $side JOIN civicrm_website ON contact_a.id = civicrm_website.contact_id ";
Expand Down

0 comments on commit bcb0eba

Please sign in to comment.