Skip to content

Commit

Permalink
Merge pull request #7013 from Webmecanik/fix-join
Browse files Browse the repository at this point in the history
fix 500 by remove of . on .lp.lead_id
  • Loading branch information
Woeler committed Dec 14, 2018
2 parents f6aa213 + 8248231 commit 5b6af7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ public function getLeadTimelineEvents($leadId = null, array $options = [])
{
$query = $this->getEntityManager()->getConnection()->createQueryBuilder()
->from(MAUTIC_TABLE_PREFIX.'lead_points_change_log', 'lp')
->select('lp.event_name as eventName, lp.action_name as actionName, lp.date_added as dateAdded, lp.type, lp.delta, lp.id, .lp.lead_id');
->select('lp.event_name as eventName, lp.action_name as actionName, lp.date_added as dateAdded, lp.type, lp.delta, lp.id, lp.lead_id');

if ($leadId) {
$query->where('lp.lead_id = '.(int) $leadId);
Expand Down

0 comments on commit 5b6af7a

Please sign in to comment.