diff --git a/trunk/tools/application_mailer.php b/trunk/tools/application_mailer.php index b05f5f7..25c052a 100644 --- a/trunk/tools/application_mailer.php +++ b/trunk/tools/application_mailer.php @@ -38,7 +38,7 @@ for ($i=0; $i < sizeof($user_results); $i++){ //Find applications for that user - $sql = "select council_reference, address, + $sql = "select distinct council_reference, address, postcode, description, info_tinyurl, comment_tinyurl, map_url, full_name from application