dev/core#352 Ensure that contacts that are to be exluded are not added incorrectly...
authorSeamus Lee <seamuslee001@gmail.com>
Wed, 22 Aug 2018 03:59:37 +0000 (13:59 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 27 Aug 2018 20:00:06 +0000 (06:00 +1000)
commite3d924caddb11255d8d0729605099c9bd35182b5
tree73a83cd6d71733323e6b32a2838bf098850ef278
parentcc0a70e7a5795bf4a90e678c8851fe8d345652b2
dev/core#352 Ensure that contacts that are to be exluded are not added incorrectly when adding recipients of past mailings

Add in DISTINCT clause as per Moonish's comment
CRM/Mailing/BAO/Mailing.php
tests/phpunit/CRM/Mailing/BAO/MailingTest.php