Skip to content

Commit

Permalink
Update dmarcts-report-viewer-report-data.php
Browse files Browse the repository at this point in the history
Totally messed up (my error) going to have to rethink this.
  • Loading branch information
techsneeze committed Jul 15, 2023
1 parent c971817 commit dc69ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmarcts-report-viewer-report-data.php
Expand Up @@ -142,7 +142,7 @@ function tmpl_reportData($reportnumber, $reports, $host_lookup = 1) {
$query = $dbh->query($sql);
foreach($query as $row) {
if ( $row['ip'] ) {
$ip = long2ip(intval$row['ip']);
$ip = long2ip($row['ip']);
} elseif ( $row['ip6'] ) {
if ( $dbtype == 'pgsql') {
$row['ip6'] = stream_get_contents($row['ip6']);
Expand Down

0 comments on commit dc69ebf

Please sign in to comment.