diff options
author | TechSneeze <dave@techsneeze.com> | 2021-04-16 09:08:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 09:08:23 +0300 |
commit | a0b6f10bb42362a6e4e9145a024f4128e481c838 (patch) | |
tree | b669dd926ce58f098a25ab9a087aa961cc3f8587 | |
parent | f9c1f5bb617a40b9466eb5a782fedf706fccef2c (diff) |
Update dmarcts-report-viewer.php
Was getting a 500 error on my install. PHP Log shows:
PHP Parse error: syntax error, unexpected ')' in /some/path/dmarcts-report-viewer.php on line 80
Pretty sure this was
-rw-r--r-- | dmarcts-report-viewer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dmarcts-report-viewer.php b/dmarcts-report-viewer.php index c021816..e0903a1 100644 --- a/dmarcts-report-viewer.php +++ b/dmarcts-report-viewer.php @@ -76,7 +76,7 @@ function html ($default_hostlookup = 1, $default_dmarc_result = undef, $default_ $html[] = sprintf("<option style='color: " . $value['color'] . "' %s value=\"%s\">%s</option>", $default_dmarc_result == $key ? "selected=\"selected\"" : "", $key, - $value['text'], + $value['text'] ); } $html[] = "</select>"; @@ -92,7 +92,7 @@ function html ($default_hostlookup = 1, $default_dmarc_result = undef, $default_ $html[] = sprintf("<option style='color: " . $value['color'] . "' %s value=\"%s\">%s</option>", $default_report_status == $key ? "selected=\"selected\"" : "", $key, - $value['status_text'], + $value['status_text'] ); } $html[] = "</select>"; |