Skip to content

Commit

Permalink
Remove DISTINCT from report sql
Browse files Browse the repository at this point in the history
Fix #1209
  • Loading branch information
endelwar committed Jan 23, 2024
1 parent 77596e0 commit 9858a2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Unreleased
### Fixes
- More relaxed regex for MaxMind geoip database download on HTTP/2 connection (#1289)
- Fix report email (#1209)
- Validate on new exim id format (#1294)
- Permit + and = chars in email for sendmail (#1291)

## 1.2.21
### Improvements
Expand Down
2 changes: 1 addition & 1 deletion mailscanner/quarantine_report.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private static function get_html_table()
private static function get_report_sql($useToFilter = true)
{
$report_sql = "
SELECT DISTINCT
SELECT
a.id AS id,
DATE_FORMAT(timestamp,'" . str_replace('%', '%%', DATE_FORMAT) . ' <br/>' . str_replace('%', '%%', TIME_FORMAT) . "') AS datetime,
a.timestamp AS timestamp,
Expand Down

0 comments on commit 9858a2d

Please sign in to comment.