Skip to content

Commit

Permalink
Update dmarcts-report-viewer.php
Browse files Browse the repository at this point in the history
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
  • Loading branch information
techsneeze committed Apr 16, 2021
1 parent f9c1f5b commit a0b6f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmarcts-report-viewer.php
Expand Up @@ -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>";
Expand All @@ -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>";
Expand Down

0 comments on commit a0b6f10

Please sign in to comment.