Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/techsneeze/dmarcts-report-viewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dmarcts-report-viewer-report-list.php')
-rw-r--r--dmarcts-report-viewer-report-list.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/dmarcts-report-viewer-report-list.php b/dmarcts-report-viewer-report-list.php
index 50f15a6..1136af7 100644
--- a/dmarcts-report-viewer-report-list.php
+++ b/dmarcts-report-viewer-report-list.php
@@ -228,7 +228,7 @@ switch ($dmarc_select) {
// Report Status
// --------------------------------------------------------------------------
if ( $report_status != "all" && $report_status != "" ) {
- $where .= ( $where <> '' ? " AND" : " WHERE" ) . " " . $dmarc_result[$report_status]['status_sql_where'];
+ $where .= ( $where <> '' ? " AND" : " WHERE" ) . " " . $mysqli->real_escape_string($dmarc_result[$report_status]['status_sql_where']);
}
// Domains
@@ -272,10 +272,6 @@ FROM
SELECT
SUM(rcount) AS rcount,
serial,
- dkim_align,
- spf_align,
- dkimresult,
- spfresult,
MIN(
(CASE
WHEN dkim_align = 'fail' THEN 0
@@ -345,8 +341,6 @@ FROM
ON
report.serial = rptrecord.serial
$where
-GROUP BY
- serial
ORDER BY
" . $cookie_options['sort_column'] . ( $cookie_options['sort'] ? " ASC" : " DESC" )
;